mirror of
https://github.com/prometheus-community/ipmi_exporter
synced 2025-01-02 20:32:26 +00:00
Use long option for quiet cache
Problem: The short option -Q for "quiet cache" was legacied in FreeIPMI in early 2018. It has the potential to be removed some day in the future. Solution: Use the long option --quiet-cache instead. Signed-off-by: Albert Chu <chu11@llnl.gov>
This commit is contained in:
parent
4b683aa1c9
commit
ccbb13f067
@ -132,7 +132,7 @@ func (c IPMICollector) Cmd() string {
|
|||||||
|
|
||||||
func (c IPMICollector) Args() []string {
|
func (c IPMICollector) Args() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"-Q",
|
"--quiet-cache",
|
||||||
"--ignore-unrecognized-events",
|
"--ignore-unrecognized-events",
|
||||||
"--comma-separated-output",
|
"--comma-separated-output",
|
||||||
"--no-header-output",
|
"--no-header-output",
|
||||||
|
@ -59,7 +59,7 @@ func (c SELEventsCollector) Cmd() string {
|
|||||||
|
|
||||||
func (c SELEventsCollector) Args() []string {
|
func (c SELEventsCollector) Args() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"-Q",
|
"--quiet-cache",
|
||||||
"--comma-separated-output",
|
"--comma-separated-output",
|
||||||
"--no-header-output",
|
"--no-header-output",
|
||||||
"--sdr-cache-recreate",
|
"--sdr-cache-recreate",
|
||||||
|
Loading…
Reference in New Issue
Block a user