diff options
author | David Shrewsbury <dshrewsb@redhat.com> | 2019-06-06 16:16:03 -0400 |
---|---|---|
committer | David Shrewsbury <dshrewsb@redhat.com> | 2019-09-18 10:09:08 -0400 |
commit | 9f5743366dd699b573db90f9e4d8937a432c28f3 (patch) | |
tree | ff5c028ddf897d5d067facb1cad8edc5c3777aa6 /zuul/cmd | |
parent | 6bbf3609bba41422861e8e64a94931d7183873bf (diff) | |
download | zuul-9f5743366dd699b573db90f9e4d8937a432c28f3.tar.gz |
Auto-delete expired autohold requests
When a request is created with a node expiration, set a request
expiration for 24 hours after the nodes expire.
Change-Id: I0fbf59eb00d047e5b066d2f7347b77a48f8fb0e7
Diffstat (limited to 'zuul/cmd')
-rwxr-xr-x | zuul/cmd/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zuul/cmd/client.py b/zuul/cmd/client.py index fe0f9e373..d60558f49 100755 --- a/zuul/cmd/client.py +++ b/zuul/cmd/client.py @@ -468,6 +468,7 @@ class Client(zuul.cmd.ZuulApp): print("Max Count: %s" % request['max_count']) print("Current Count: %s" % request['current_count']) print("Node Expiration: %s" % request['node_expiration']) + print("Request Expiration: %s" % time.ctime(request['expired'])) print("Reason: %s" % request['reason']) print("Held Nodes: %s" % request['nodes']) |