stackabletech / operator-rs

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

chore: set strum::Display for LogLevel to uppercase #808

Closed xeniape closed 1 month ago

xeniape commented 1 month ago

Description

Set strum::Display for LogLevel to uppercase and add warning.

Definition of Done Checklist

# Author
- [ ] Changes are OpenShift compatible
- [ ] CRD changes approved
- [ ] Integration tests passed (for non trivial changes)
# Reviewer
- [ ] Code contains useful comments
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added
nightkr commented 1 month ago

Where did this come up? Would it be more appropriate to not implement Display at all? I assume that the naming here was trying to align with something in the first place, are we drifting out of compat with that?