summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-04-02 15:03:17 -0700
committerDan Mick <dan.mick@inktank.com>2013-04-02 15:09:43 -0700
commitcfd32fff7ce93e9182b43dff491713718effaff8 (patch)
treed364793651f8a6bb07f3174b48d597bcd782d8bc /qa
parent3842ff7d677bae98462f7d050f5fda9d85f6273d (diff)
downloadceph-cfd32fff7ce93e9182b43dff491713718effaff8.tar.gz
test_mon_config_key.py: fix 'del' to clean up correctly internally
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/mon/test_mon_config_key.py4
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':