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

release: ignore manifest in annotator if we fail to unmarshal #190

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

stefansedich
Copy link
Contributor

#185 covered the case where the len(bytes)==0 however in my testing I witnessed that the reason I still get this error is because I am seeing manifests come through that are simply the string "null".

pkg/release/annotator.go Outdated Show resolved Hide resolved
@stefansedich
Copy link
Contributor Author

After talking with @hiddeco going to dive in and try understand where the "null" is actually coming from.

@stefansedich stefansedich force-pushed the null-kind-fix branch 2 times, most recently from 611da84 to 33dd847 Compare January 9, 2020 16:53
@hiddeco hiddeco changed the title Ignore manifest if the contents of the manifest YAML are equal to 'null' release: ignore manifest in annotator if we fail to unmarshal Jan 9, 2020
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

Thanks for getting to the bottom of this @stefansedich 🍰

@hiddeco hiddeco merged commit fc14f51 into fluxcd:master Jan 9, 2020
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.

None yet

2 participants