Unverified Commit 8b23ec60 authored by Da Zheng's avatar Da Zheng Committed by GitHub
Browse files

Fix a bug in standalone mode (#6179)

parent c6cdeb6b
...@@ -62,7 +62,8 @@ class KVClient(object): ...@@ -62,7 +62,8 @@ class KVClient(object):
def delete_data(self, name): def delete_data(self, name):
"""delete the data""" """delete the data"""
del self._data[name] del self._data[name]
self._gdata_name_list.remove(name) if name in self._gdata_name_list:
self._gdata_name_list.remove(name)
def data_name_list(self): def data_name_list(self):
"""get the names of all data""" """get the names of all data"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment