summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Anderson <b@banjiewen.net>2014-06-17 14:27:04 -0700
committerBenjamin Anderson <b@banjiewen.net>2014-06-17 14:27:04 -0700
commitd5a617b49a1cc0d8e52890def7c713602911ef0b (patch)
tree00257959baf7b1ace6b3a5d9d75b143c26d15293
parentfcbc55cd86f6fdfd83ef6b1e1ddce5568abdf35e (diff)
downloadcouchdb-d5a617b49a1cc0d8e52890def7c713602911ef0b.tar.gz
Clean up indentation in send_sensu_event
-rw-r--r--src/custodian/src/custodian_server.erl14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/custodian/src/custodian_server.erl b/src/custodian/src/custodian_server.erl
index 1c24cb27f..b9dabe774 100644
--- a/src/custodian/src/custodian_server.erl
+++ b/src/custodian/src/custodian_server.erl
@@ -138,12 +138,14 @@ send_sensu_event({_, Count} = Item) ->
twig:log(warn, "~s", [describe(Item)]),
"--warning"
end,
- Cmd = lists:concat(["send-sensu-event --standalone ",
- Level,
- " --output=\"",
- describe(Item),
- "\" ",
- check_name(Item)]),
+ Cmd = lists:concat([
+ "send-sensu-event --standalone ",
+ Level,
+ " --output=\"",
+ describe(Item),
+ "\" ",
+ check_name(Item)
+ ]),
os:cmd(Cmd).
describe({{safe, N}, Count}) ->