Skip to content

Commit

Permalink
Update API called from swift <-> storage where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Dec 22, 2023
1 parent e9948e6 commit 4fb2a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pfdcm/pfdcm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ if ((b_pfdcm || PFDCM == "local" )) ; then
fi

if (( b_pfdcmSWIFT || PFDCMSWIFT == "local")) ; then
cmd=$(CURL GET SMDB/swift/${PFDCMSWIFT}/)
cmd=$(CURL GET SMDB/storage/${PFDCMSWIFT}/)
vprint "$cmd"
jSWIFT=$(eval $cmd)
vprint "$jSWIFT"
Expand Down Expand Up @@ -658,7 +658,7 @@ if ((b_pfdcmSetupShow)) ; then
fi

if ((b_swiftSetupShow)) ; then
cmd=$(CURL GET SMDB/swift/list/)
cmd=$(CURL GET SMDB/storage/list/)
vprint "$cmd"
evaljq "$cmd"
fi
Expand All @@ -667,7 +667,7 @@ setupSWIFTGet="
pfdcm.sh --swiftSetupGet megalodon --
"
if (( b_setupSwiftGet )) ; then
cmd=$(CURL GET SMDB/swift/$SWIFTKEYNAME/)
cmd=$(CURL GET SMDB/storage/$SWIFTKEYNAME/)
vprint "$cmd"
evaljq "$cmd"
fi
Expand Down

0 comments on commit 4fb2a0b

Please sign in to comment.