Skip to content

Commit d8a29c2

Browse files
committed
Removed some debug statements.
1 parent 2edc006 commit d8a29c2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Management-Utilities/fsx-ontap-aws-cli-scripts/create_fsxn_filesystem

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,13 @@ if [ $size -lt $minSize ]; then
221221
usage
222222
fi
223223

224-
echo aws fsx create-file-system --output=json --file-system-type ONTAP --storage-capacity $size --subnet-ids $subnetID1 $subnetID2 --storage-type SSD --tags "Key=Name,Value=$fileSystemName" $securityGroupOption --ontap-configuration '{
224+
aws fsx create-file-system --output=json --file-system-type ONTAP --storage-capacity $size --subnet-ids $subnetID1 $subnetID2 --storage-type SSD --tags "Key=Name,Value=$fileSystemName" $securityGroupOption --ontap-configuration '{
225225
"PreferredSubnetId": "'$subnetID1'",
226226
'$endpointips'
227227
"DeploymentType": "'$azType'",
228228
"HAPairs": '$numPairs',
229-
"ThroughputCapacityPerHAPair": '$throughput'}' --region=$region
230-
# "ThroughputCapacityPerHAPair": '$throughput'}' --region=$region > $tmpout 2>&1
231-
exit
229+
"ThroughputCapacityPerHAPair": '$throughput'}' --region=$region > $tmpout 2>&1
230+
232231
if [ $? != "0" ]; then
233232
echo "Failed to create FSxN file system." 1>&2
234233
cat $tmpout 1>&2

0 commit comments

Comments
 (0)