Skip to content

Commit 5900cbc

Browse files
committed
update getVolumePath method comment
1 parent 9fdddc2 commit 5900cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hostpath/hostpath.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func getSnapshotByName(name string) (hostPathSnapshot, error) {
160160
return hostPathSnapshot{}, fmt.Errorf("snapshot name %s does not exit in the snapshots list", name)
161161
}
162162

163-
// getVolumePath returs the canonical path for hostpath volume
163+
// getVolumePath return the canonical path for hostpath volume
164164
func getVolumePath(volID string) string {
165165
return filepath.Join(dataRoot, volID)
166166
}

0 commit comments

Comments
 (0)