Skip to content

Commit

Permalink
[perforator] Do not warn about empty oauth token in insecure mode
Browse files Browse the repository at this point in the history
commit_hash:c329b2c2ef1bbb23cfd9bb56c22402914899897a
  • Loading branch information
BigRedEye committed Feb 13, 2025
1 parent 61f5538 commit 2997345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perforator/symbolizer/pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func NewClient(c *Config, l xlog.Logger) (*Client, error) {
AccessToken: c.Token,
}),
}))
} else {
} else if !c.Insecure {
l.Warn(context.Background(), "No OAuth token found")
}

Expand Down

0 comments on commit 2997345

Please sign in to comment.