Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
(cherry picked from commit 1ae796f9f4)
This commit is contained in:
parent
f5924d99c9
commit
255839fbb8
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue