Skip to content

Commit 396995b

Browse files
Karnik, Aarkinmboglesby
authored andcommitted
Pull request #19: Replaced default values with None for some parameters in create_volume function
Merge in SIE-BB/netapp-dataops-toolkit from create-volume-fix to release-v2.7.0 * commit '499c1dba6295e8d6d405e9c94187dab460e3b071': Replaced default values with None for some parameters in create_volume function
2 parents 04e2d46 + 499c1db commit 396995b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • netapp_dataops_traditional/netapp_dataops/traditional

netapp_dataops_traditional/netapp_dataops/traditional/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,8 @@ def create_snapshot(volume_name: str, cluster_name: str = None, svm_name: str =
841841

842842

843843
def create_volume(volume_name: str, volume_size: str, guarantee_space: bool = False, cluster_name: str = None, svm_name: str = None,
844-
volume_type: str = "flexvol", unix_permissions: str = "0777",
845-
unix_uid: str = "0", unix_gid: str = "0", export_policy: str = "default", snaplock_type: str = None,
844+
volume_type: str = None, unix_permissions: str = None,
845+
unix_uid: str = None, unix_gid: str = None, export_policy: str = None, snaplock_type: str = None,
846846
snapshot_policy: str = None, aggregate: str = None, mountpoint: str = None, junction: str = None, readonly: bool = False,
847847
print_output: bool = False, tiering_policy: str = None, vol_dp: bool = False):
848848
# Retrieve config details from config file

0 commit comments

Comments
 (0)