diff options
Diffstat (limited to 'lib/chef_zero/rest_request.rb')
-rw-r--r-- | lib/chef_zero/rest_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_request.rb b/lib/chef_zero/rest_request.rb index ea96110..6b37c18 100644 --- a/lib/chef_zero/rest_request.rb +++ b/lib/chef_zero/rest_request.rb @@ -19,7 +19,7 @@ module ChefZero end def api_version - @env['HTTP_X_OPS_SERVER_API_VERSION'] + @env['HTTP_X_OPS_SERVER_API_VERSION'] || 0 end def requestor |