summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/environment_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/environment_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/environment_endpoint.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/environment_endpoint.rb b/lib/chef_zero/endpoints/environment_endpoint.rb
index d792b98..74a175b 100644
--- a/lib/chef_zero/endpoints/environment_endpoint.rb
+++ b/lib/chef_zero/endpoints/environment_endpoint.rb
@@ -1,6 +1,6 @@
require 'json'
require 'chef_zero/endpoints/rest_object_endpoint'
-require 'chef_zero/data_normalizer'
+require 'chef_zero/chef_data/data_normalizer'
module ChefZero
module Endpoints
@@ -25,7 +25,7 @@ module ChefZero
def populate_defaults(request, response_json)
response = JSON.parse(response_json, :create_additions => false)
- response = DataNormalizer.normalize_environment(response, request.rest_path[3])
+ response = ChefData::DataNormalizer.normalize_environment(response, request.rest_path[3])
JSON.pretty_generate(response)
end
end