fix golint errors in pkg/volume/host_path
This commit is contained in:
@@ -90,7 +90,7 @@ filegroup(
|
||||
"//pkg/volume/gcepd:all-srcs",
|
||||
"//pkg/volume/git_repo:all-srcs",
|
||||
"//pkg/volume/glusterfs:all-srcs",
|
||||
"//pkg/volume/host_path:all-srcs",
|
||||
"//pkg/volume/hostpath:all-srcs",
|
||||
"//pkg/volume/iscsi:all-srcs",
|
||||
"//pkg/volume/local:all-srcs",
|
||||
"//pkg/volume/nfs:all-srcs",
|
||||
|
||||
@@ -12,7 +12,7 @@ go_library(
|
||||
"doc.go",
|
||||
"host_path.go",
|
||||
],
|
||||
importpath = "k8s.io/kubernetes/pkg/volume/host_path",
|
||||
importpath = "k8s.io/kubernetes/pkg/volume/hostpath",
|
||||
deps = [
|
||||
"//pkg/util/mount:go_default_library",
|
||||
"//pkg/volume:go_default_library",
|
||||
@@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package host_path contains the internal representation of hostPath
|
||||
// Package hostpath contains the internal representation of hostPath
|
||||
// volumes.
|
||||
package host_path // import "k8s.io/kubernetes/pkg/volume/host_path"
|
||||
package hostpath // import "k8s.io/kubernetes/pkg/volume/hostpath"
|
||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package host_path
|
||||
package hostpath
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
"k8s.io/kubernetes/pkg/volume/validation"
|
||||
)
|
||||
|
||||
// This is the primary entrypoint for volume plugins.
|
||||
// ProbeVolumePlugins is the primary entrypoint for volume plugins.
|
||||
// The volumeConfig arg provides the ability to configure volume behavior. It is implemented as a pointer to allow nils.
|
||||
// The hostPathPlugin is used to store the volumeConfig and give it, when needed, to the func that Recycles.
|
||||
// Tests that exercise recycling should not use this func but instead use ProbeRecyclablePlugins() to override default behavior.
|
||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package host_path
|
||||
package hostpath
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
Reference in New Issue
Block a user