Fix renew claim NoneType error
when claim renew , client return " 'NoneType' object is not iterable" this patch fix it. Change-Id: I291e85484e755f3d4a892398f03775284dbc22dd
This commit is contained in:
parent
b6d59fc773
commit
da67ae1c0a
@ -969,7 +969,7 @@ class RenewClaim(command.Lister):
|
||||
|
||||
claim_obj = queue.claim(id=parsed_args.claim_id)
|
||||
claim_obj.update(**kwargs)
|
||||
data = claim_obj._get()
|
||||
data = claim_obj
|
||||
keys = ("_id", "age", "ttl", "body")
|
||||
columns = ("Message_ID", "Age", "TTL", "Message")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user