[amtool] print silence id, not silence id's pointer
fixes #1917 Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
parent
037ae5ecc6
commit
678ff5cf04
|
@ -133,7 +133,7 @@ func (c *silenceQueryCmd) query(ctx context.Context, _ *kingpin.ParseContext) er
|
||||||
|
|
||||||
if c.quiet {
|
if c.quiet {
|
||||||
for _, silence := range displaySilences {
|
for _, silence := range displaySilences {
|
||||||
fmt.Println(silence.ID)
|
fmt.Println(*silence.ID)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
formatter, found := format.Formatters[output]
|
formatter, found := format.Formatters[output]
|
||||||
|
|
Loading…
Reference in New Issue