[amtool] print silence id, not silence id's pointer

fixes #1917

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
This commit is contained in:
stuart nelson 2019-06-10 10:22:49 +02:00
parent 037ae5ecc6
commit 678ff5cf04
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ func (c *silenceQueryCmd) query(ctx context.Context, _ *kingpin.ParseContext) er
if c.quiet {
for _, silence := range displaySilences {
fmt.Println(silence.ID)
fmt.Println(*silence.ID)
}
} else {
formatter, found := format.Formatters[output]