coreos / mayday

A diagnostics tool for capturing system state.
Apache License 2.0
80 stars 27 forks source link

Fix nil pointer exception in docker config redaction #70

Closed euank closed 7 years ago

euank commented 7 years ago

See https://github.com/coreos/bugs/issues/2077

See also the commit comment.

This code is quite verbose, but that's what proper error handling in go gets you. It might be worth splitting out a few helper functions.

lucab commented 7 years ago

I think this is failing due to https://github.com/coreos/mayday/pull/69

euank commented 7 years ago

I merged the above and rebased, Travis is now happy.