commit | f1a692a9a0c35a274d40933272c28da7a3b5314e | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tkukral@mirantis.com> | Fri Aug 11 13:29:28 2017 +0200 |
committer | Tomas Kukral <tkukral@mirantis.com> | Fri Aug 11 11:32:41 2017 +0000 |
tree | b89db576713cc2a749cf315b40d867b9d2ad5c5e | |
parent | 64f8e1c38e022bf285d44ea34a352abc7e6428e9 [diff] |
strip execution success from getFileContent Change-Id: I2a6e926229bb1f0bd352faafe0347d8d2869c2f9
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy index 644e8b4..71c17d6 100644 --- a/src/com/mirantis/mk/Salt.groovy +++ b/src/com/mirantis/mk/Salt.groovy
@@ -614,7 +614,7 @@ def getFileContent(master, target, file) { result = cmdRun(master, target, "cat ${file}") - return result['return'][0].values()[0] + return result['return'][0].values()[0].replaceAll('Salt command execution success','') } /**