Commit 255839fb by mooncake Committed by kmova

Fix some typos

Signed-off-by: 's avatarmooncake <xcoder@tenxcloud.com> (cherry picked from commit 1ae796f9f480917ce5a71186ae07a900a30b6334)
parent f5924d99
...@@ -110,7 +110,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error { ...@@ -110,7 +110,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error {
return err return err
} }
// Determine if the "archiveOnDelete" parameter exists. // Determine if the "archiveOnDelete" parameter exists.
// If it exists and has a falsey value, delete the directory. // If it exists and has a false value, delete the directory.
// Otherwise, archive it. // Otherwise, archive it.
archiveOnDelete, exists := storageClass.Parameters["archiveOnDelete"] archiveOnDelete, exists := storageClass.Parameters["archiveOnDelete"]
if exists { if exists {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment