drop useless drone error message
This commit is contained in:
parent
0341b4013a
commit
1b0e16d97b
@ -1,3 +1,2 @@
|
||||
- BUGFIX
|
||||
- use drone binary path from config
|
||||
- fix name of env variable in error message
|
||||
- drop useless drone error message
|
||||
|
@ -127,7 +127,7 @@ class AgentCleanup:
|
||||
server=self.config["drone_server"], token=self.config["drone_token"], scaler=scaler, agent=e, force=force,
|
||||
binfile=self.config["drone_bin"]))
|
||||
|
||||
if res.returncode > 0:
|
||||
if res.returncode > 0 and "client error 404" not in humanize(res.stdout):
|
||||
self.log.sysexit_with_message("Command error:\n{}".format(humanize(res.stdout)))
|
||||
|
||||
if not dry:
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
__author__ = "Robert Kaussow"
|
||||
__project__ = "drone-cleanup-agents"
|
||||
__version__ = "0.1.1"
|
||||
__version__ = "0.1.2"
|
||||
__license__ = "MIT"
|
||||
__maintainer__ = "Robert Kaussow"
|
||||
__email__ = "rkaussow@owncloud.com"
|
||||
|
Reference in New Issue
Block a user