diff --git a/pkg/volume/volume.go b/pkg/volume/volume.go index 9a851c32cd1..6a7c039b4bf 100644 --- a/pkg/volume/volume.go +++ b/pkg/volume/volume.go @@ -81,7 +81,7 @@ type Builder interface { // 'fsGroup' so that it can be accessed by the pod. This may // be called more than once, so implementations must be // idempotent. - SetUpAt(dir string, sGroup *int64) error + SetUpAt(dir string, fsGroup *int64) error // GetAttributes returns the attributes of the builder. GetAttributes() Attributes } diff --git a/third_party/golang/expansion/expand.go b/third_party/golang/expansion/expand.go index ccec3e9ecaf..6bf0ea8ce09 100644 --- a/third_party/golang/expansion/expand.go +++ b/third_party/golang/expansion/expand.go @@ -10,7 +10,7 @@ const ( referenceCloser = ')' ) -// syntaxWrap returns the input string wrapped the expansion syntax. +// syntaxWrap returns the input string wrapped by the expansion syntax. func syntaxWrap(input string) string { return string(operator) + string(referenceOpener) + input + string(referenceCloser) }