Open erikbor opened 6 years ago
Hi @phuonghuynh,
invoke_it.sh shows a warning:
invoke_it.sh
$ bash "invoke_it.sh" -method POST -credentials "***:***" -url "https://***.execute-api.us-west-2.amazonaws.com/dev/membership" aws_access_key= *** aws_secret_key= *** api_url= https://***.execute-api.us-west-2.amazonaws.com/dev/membership timestamp= 20180710T085822Z today= 20180710 invoke_it.sh: line 79: local: method: readonly variable
Can you please fix this? Maybe declaring the variables in main() as local -r.
main()
local -r
Thanks
Hi @phuonghuynh,
invoke_it.sh
shows a warning:Can you please fix this? Maybe declaring the variables in
main()
aslocal -r
.Thanks