Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
(cherry picked from commit 1ae796f9f4)
This commit is contained in:
@@ -110,7 +110,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error {
|
||||
return err
|
||||
}
|
||||
// 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.
|
||||
archiveOnDelete, exists := storageClass.Parameters["archiveOnDelete"]
|
||||
if exists {
|
||||
|
||||
Reference in New Issue
Block a user