Add back in no retry logic for CLI

pull/4727/head
Todd 2 years ago
parent 72c9759987
commit 9ddfd8fbc6

@ -270,6 +270,11 @@ func (c *Command) Client(opt ...Option) (*api.Client, error) {
}
}
// Turn off retries on the CLI
if os.Getenv(api.EnvBoundaryMaxRetries) == "" {
c.client.SetMaxRetries(0)
}
switch {
case opts.withNoTokenValue:
c.client.SetToken("")

Loading…
Cancel
Save