From 8cc1aedd1fd5529539db271e16796c3d62b8a7f5 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 11 Feb 2020 10:09:05 +0800 Subject: [PATCH] Fix comment typo * returs -> returns Signed-off-by: Chin-Ya Huang --- pkg/hostpath/hostpath.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostpath/hostpath.go b/pkg/hostpath/hostpath.go index 9ff4797bb..d4db8e818 100644 --- a/pkg/hostpath/hostpath.go +++ b/pkg/hostpath/hostpath.go @@ -160,7 +160,7 @@ func getSnapshotByName(name string) (hostPathSnapshot, error) { return hostPathSnapshot{}, fmt.Errorf("snapshot name %s does not exit in the snapshots list", name) } -// getVolumePath returs the canonical path for hostpath volume +// getVolumePath returns the canonical path for hostpath volume func getVolumePath(volID string) string { return filepath.Join(dataRoot, volID) }