summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Slynko <alex.slynko@wonga.com>2014-01-02 17:40:58 +0000
committerAlex Slynko <alex.slynko@wonga.com>2014-01-02 17:40:58 +0000
commitadf8ee5c5a3d5aa92ce786dfe7906421093eeec3 (patch)
tree28d9274577812f185fa64da8e60dda8bec105eee /lib
parent59baab81f5aa1df4dd29781612db5c183e293b52 (diff)
downloadchef-zero-adf8ee5c5a3d5aa92ce786dfe7906421093eeec3.tar.gz
Fix clear data when no data was added
Diffstat (limited to 'lib')
-rw-r--r--lib/chef_zero/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index 417bd8a..89aa975 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -296,7 +296,7 @@ module ChefZero
end
def clear_data
- @data_store.clear
+ data_store.clear
end
def request_handler(&block)