File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -116,20 +116,7 @@ detectIncompleteState() {
116116 # Bit 0 -> keyPairExists
117117 local binaryState=$(( (instanceExists << 2 ) | (securityGroupExists << 1 ) | keyPairExists))
118118
119- echo " Binary state (in binary): $( echo " obase=2; $binaryState " | bc) "
119+ # echo "Binary state (in binary): $(echo "obase=2; $binaryState" | bc)"
120120 return $binaryState
121121}
122122
123- detectIncompleteState " luftballon" " luftballons-sg" " luftballon"
124- binaryState=$?
125-
126- # Analyze each bit
127- if instanceExists $binaryState ; then
128- echo " Instance exists."
129- fi
130- if securityGroupExists $binaryState ; then
131- echo " Security Group exists."
132- fi
133- if keyPairExists $binaryState ; then
134- echo " Key Pair exists."
135- fi
You can’t perform that action at this time.
0 commit comments