Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

fix string trim func in findErrorMessage func #2527

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

beautytiger
Copy link
Contributor

Trim is a char based func, it is dangerous used in here, I think TrimPrefix is what we may want here, see here: https://play.golang.org/p/OTBFKMzklMZ

Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

Bang on the money -- thank you!

@squaremo squaremo merged commit 7ed5de4 into fluxcd:master Oct 17, 2019
@2opremio 2opremio added this to the 1.16.0 milestone Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants