summaryrefslogtreecommitdiff
path: root/lib/chef/http/socketless_chef_zero_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/http/socketless_chef_zero_client.rb')
-rw-r--r--lib/chef/http/socketless_chef_zero_client.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/http/socketless_chef_zero_client.rb b/lib/chef/http/socketless_chef_zero_client.rb
index e3823481d4..61673c28a6 100644
--- a/lib/chef/http/socketless_chef_zero_client.rb
+++ b/lib/chef/http/socketless_chef_zero_client.rb
@@ -44,6 +44,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
require "chef_zero/server"
+require "chef/dist"
class Chef
class HTTP
@@ -63,7 +64,7 @@ class Chef
# or else streaming-style responses won't work.
def read_body(dest = nil, &block)
if dest
- raise "responses from socketless chef zero can't be written to specific destination"
+ raise "responses from socketless #{Chef::Dist::ZERO} can't be written to specific destination"
end
if block_given?