fixed comment/typo
This commit is contained in:
parent
480eab872d
commit
90aecbd40d
@ -101,7 +101,7 @@ function cnsEnvVars () {
|
|||||||
local triton_account="$(spearhead account get)"
|
local triton_account="$(spearhead account get)"
|
||||||
local triton_url="$(spearhead profile get | awk -F"/" '/url:/{print $3}')"
|
local triton_url="$(spearhead profile get | awk -F"/" '/url:/{print $3}')"
|
||||||
|
|
||||||
Do not continue if the target is not a Spearhead Cloud data center
|
#Do not continue if the target is not a Spearhead Cloud data center
|
||||||
if [ ! ".api.joyent.com" == "${triton_url: -15}" ] || [ ! ".api.spearhead.cloud" == "${triton_url: -15}" ]
|
if [ ! ".api.joyent.com" == "${triton_url: -15}" ] || [ ! ".api.spearhead.cloud" == "${triton_url: -15}" ]
|
||||||
then
|
then
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user