stackabletech / operator-rs

A simple wrapper/framework around kube-rs to make implementing Operators/Controllers easier
Apache License 2.0
122 stars 13 forks source link

refactor: Add context to key/value pair error variants #726

Closed Techassi closed 9 months ago

Techassi commented 9 months ago

Came up in https://github.com/stackabletech/hdfs-operator/pull/454

This PR adds more context to the key/value pair error variants which should make it easier for the user to identify the erroneous pair.

NickLarsenNZ commented 9 months ago

@Techassi just a note, the CHANGELOG wasn't updated, but maybe this change was small enough to not need one?

Techassi commented 9 months ago

Yeah. I feel like this was small enough to not have an entry. This change also isn't developer-facing and only affects the error display. So it should be fine as is...