mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-24 23:13:18 +00:00
make format
This commit is contained in:
parent
c22599858a
commit
4d06bb6060
@ -67,7 +67,7 @@ alertGroupDecoder =
|
||||
|
||||
decodeBlocks : Json.Decoder (List Block)
|
||||
decodeBlocks =
|
||||
Json.maybe (field "blocks" (Json.list blockDecoder))
|
||||
Json.maybe (field "blocks" (Json.list blockDecoder))
|
||||
|> andThen (unwrapWithDefault [])
|
||||
|
||||
|
||||
@ -108,7 +108,7 @@ alertDecoder =
|
||||
|
||||
decodeSilenced : Decoder Bool
|
||||
decodeSilenced =
|
||||
Json.maybe (field "silenced" Json.int)
|
||||
Json.maybe (field "silenced" Json.int)
|
||||
|> andThen
|
||||
(\val ->
|
||||
case val of
|
||||
|
Loading…
Reference in New Issue
Block a user