backport of commit 9ddfd8fbc6

pull/4729/head
Todd 2 years ago
parent ba77cb5a97
commit c574e151db

@ -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