From 4cc524dcb1a9d12adf192e057ca737fcf80069be Mon Sep 17 00:00:00 2001 From: Casey Bisson Date: Fri, 17 Nov 2017 13:06:40 -0800 Subject: [PATCH] Fix triton-docker profile Per https://github.com/joyent/triton-docker-cli/issues/18 --- triton-docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triton-docker b/triton-docker index 9fd8f94..d38128e 100755 --- a/triton-docker +++ b/triton-docker @@ -71,7 +71,7 @@ function currentProfile () { # Get and the user's account information and CloudAPI URL for parsing later local triton_account="$(triton account get)" - echo "Executing in '$(echo "${triton_account}" | awk 'NR == 1 {print $2}')' (${profile_source})" + echo "Executing in '$(triton profile get | awk 'NR == 1 {print $2}')' (${profile_source})" # Check if CNS is enabled, require it if [ ! "true" == "$(echo "${triton_account}" | awk -F": " '/^triton_cns_enabled:/{print $2}')" ]