Giuseppe Lavagetto has submitted this change and it was merged.
Change subject: Fix IndentationError in es-tool
......................................................................
Fix IndentationError in es-tool
Trying to run this script resulted in:
File "/usr/local/bin/es-tool", line 204
return os.EX_UNAVAILABLE
^
IndentationError: unindent does not match any outer indentation level
Change-Id: I6ba90e18dcb841cbf24826034b10dfe1025ceff2
---
M modules/elasticsearch/files/es-tool
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Filippo Giunchedi: Verified; Looks good to me, approved
Giuseppe Lavagetto: Looks good to me, approved
diff --git a/modules/elasticsearch/files/es-tool
b/modules/elasticsearch/files/es-tool
index 256473f..7138433 100755
--- a/modules/elasticsearch/files/es-tool
+++ b/modules/elasticsearch/files/es-tool
@@ -197,10 +197,10 @@
process_args = ["service", "elasticsearch", "start"]
subprocess.check_call(process_args, stdout=DEV_NULL)
except CalledProcessError:
- print "failed! Elasticsearch is probably still stopped so you",
- print "will have to start it again with `sudo service",
- print "elasticsearch start and then reenable replication",
- print "with `es-tool start-replication`"
+ print "failed! Elasticsearch is probably still stopped so you",
+ print "will have to start it again with `sudo service",
+ print "elasticsearch start and then reenable replication",
+ print "with `es-tool start-replication`"
return os.EX_UNAVAILABLE
printu("ok\n")
--
To view, visit https://gerrit.wikimedia.org/r/226312
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6ba90e18dcb841cbf24826034b10dfe1025ceff2
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits