We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505ac0d commit dc9c8feCopy full SHA for dc9c8fe
1 file changed
internal/tiger/cmd/auth.go
@@ -17,6 +17,7 @@ import (
17
18
"github.com/timescale/tiger-cli/internal/tiger/analytics"
19
"github.com/timescale/tiger-cli/internal/tiger/api"
20
+ "github.com/timescale/tiger-cli/internal/tiger/common"
21
"github.com/timescale/tiger-cli/internal/tiger/config"
22
"github.com/timescale/tiger-cli/internal/tiger/util"
23
)
@@ -209,7 +210,7 @@ func buildStatusCmd() *cobra.Command {
209
210
211
// Handle API response
212
if resp.StatusCode() != 200 {
- return exitWithErrorFromStatusCode(resp.StatusCode(), resp.JSON4XX)
213
+ return common.ExitWithErrorFromStatusCode(resp.StatusCode(), resp.JSON4XX)
214
}
215
216
if resp.JSON200 == nil {
0 commit comments