diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-04-02 15:03:17 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-04-02 15:09:43 -0700 |
commit | cfd32fff7ce93e9182b43dff491713718effaff8 (patch) | |
tree | d364793651f8a6bb07f3174b48d597bcd782d8bc /qa | |
parent | 3842ff7d677bae98462f7d050f5fda9d85f6273d (diff) | |
download | ceph-cfd32fff7ce93e9182b43dff491713718effaff8.tar.gz |
test_mon_config_key.py: fix 'del' to clean up correctly internally
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/workunits/mon/test_mon_config_key.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/workunits/mon/test_mon_config_key.py b/qa/workunits/mon/test_mon_config_key.py index 7a7ebec2138..39f3a4fdb02 100755 --- a/qa/workunits/mon/test_mon_config_key.py +++ b/qa/workunits/mon/test_mon_config_key.py @@ -281,10 +281,10 @@ def main(): cmd += [ key ] opLOG.debug('key: {k}'.format(k=key)) run_cmd(cmd, expects=expected) - if op == 'existing': + if sop == 'existing': config_del.append(key) config_put.remove(key) - config_existing.erase(key) + del config_existing[key] continue elif op == 'exists': |