iits-consulting / otc-prometheus-exporter

GNU General Public License v3.0
8 stars 1 forks source link

Refactoring parse configuration with cobra viper #34

Closed zeljkobekcic closed 11 months ago

zeljkobekcic commented 1 year ago

Solves https://github.com/iits-consulting/otc-prometheus-exporter/issues/17

zeljkobekcic commented 11 months ago

Here is an error in the logic where cobra parses the values.

Ninja243 commented 11 months ago

Looks pretty good so far! Would it be possible to add some help text now that we're using cobra/viper? :D If so, I think that's out of the scope of this PR