New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct error strings in glusterfs #51084
Conversation
/release-note-none |
@k8s-bot ok to test |
/test pull-kubernetes-e2e-kops-aws |
@@ -309,7 +309,7 @@ func (b *glusterfsMounter) setUpAtInternal(dir string) error { | |||
|
|||
p := path.Join(b.glusterfs.plugin.host.GetPluginDir(glusterfsPluginName), b.glusterfs.volName) | |||
if err := os.MkdirAll(p, 0750); err != nil { | |||
return fmt.Errorf("glusterfs: mkdir failed: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the directory in square brackets?
glusterfs: mkdir [/var/lib/kubelet/plugins/kubernetes.io/glusterfs/xyz] failed: Permission denied
.
What about Error creating directory /var/lib/kubelet/plugins/kubernetes.io/glusterfs/xyz: Permission denied
?
I don't like glusterfs
prefix everywhere too, but that's probably for another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsafrane Sure.. I think `Error creating..." is better, I will change to that format.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
7c131f0
to
7755286
Compare
@jsafrane Addressed the comment, Thanks! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, jsafrane Associated issue requirement bypassed by: jsafrane The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 50229, 50973, 50976, 51085, 51084) |
Signed-off-by: Humble Chirammal hchiramm@redhat.com