node-triton icon indicating copy to clipboard operation
node-triton copied to clipboard

`TRITON_PROFILE=bogus triton ...` should hardfail

Open trentm opened this issue 9 years ago • 1 comments

Currently if your TRITON_PROFILE envvar is set to a profile that doesn't exist... then triton ... doesn't say anything and confusion can ensue (see discussion on #smartos IRC here: http://echelog.com/logs/browse/smartos/1466632800).

trentm avatar Jun 23 '16 18:06 trentm

The gist in the original report is gone. What I see with current master is:

$ export TRITON_PROFILE=doesnotexist
$ ./bin/triton ls
triton: error (Config): no such profile: doesnotexist

Which sounds like a reasonable warning.

cburroughs avatar Dec 21 '16 21:12 cburroughs