Skip to content

Conversation

@mem
Copy link
Contributor

@mem mem commented Oct 11, 2021

This is related to prometheus/prometheus#8551

Signed-off-by: Marcelo E. Magallon [email protected]

This is related to prometheus/prometheus#8551

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem requested a review from roidelapluie October 11, 2021 21:56
return err
}

if len(c.SecretKey) == 0 && len(c.SecretKeyFile) != 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think c.SecretKey == "" is more idiomatic for Go string comparisons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants