This is an automated email from the ASF dual-hosted git repository. rabbah pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new ee33c22 Handle deleted limits document for get operation the same way as missing limits document (#4535) ee33c22 is described below commit ee33c22224515d0161b5b595b0d45dbc14164c6e Author: Steffen Rost <sr...@de.ibm.com> AuthorDate: Wed Jul 3 04:48:15 2019 +0200 Handle deleted limits document for get operation the same way as missing limits document (#4535) --- tools/admin/wskadmin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/admin/wskadmin b/tools/admin/wskadmin index 7b08f3e..03eb5a0 100755 --- a/tools/admin/wskadmin +++ b/tools/admin/wskadmin @@ -572,8 +572,9 @@ def getLimitsCmd(args, props): print('%s = %s' % (limit, givenLimit)) else: error = json.loads(res.read()) - if error['reason'] == 'missing': + if error['reason'] == 'missing' or error['reason'] == 'deleted': print('No limits found, default system limits apply') + return 0 else: print('Failed to get limits (%s)' % res.read().strip()) return 1