summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-04-07 12:11:00 -0400
committerJoey Hess2015-04-07 12:11:00 -0400
commit4afbee11ac77853aeca137b2c4f49c8e8edb6804 (patch)
tree6706de9ad3530682703307db709d820c6f7be6f4
parent749047d11232e02d70cfadd568ae31cb2942dda5 (diff)
fix func name
-rw-r--r--config-joey.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-joey.hs b/config-joey.hs
index bb348417..9f48360e 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -371,8 +371,8 @@ iabak = host "iabak.archiveteam.org"
repo = "https://github.com/ArchiveTeam/IA.BAK/"
graphiteCSRF = withPrivData (Password "csrf-token") (Context "iabak.archiveteam.org") $
\gettoken -> property "graphite-web CSRF token" $
- gettoken $ \token -> do
- makeChange $ File.hasLine "/etc/graphite/local_settings.py" "SECRET_KEY = '"++ token ++"'"
+ gettoken $ \token ->
+ makeChange $ File.containsLine "/etc/graphite/local_settings.py" "SECRET_KEY = '"++ token ++"'"
--' __|II| ,.
---- __|II|II|__ ( \_,/\