summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortylercloke <tylercloke@gmail.com>2015-05-29 15:10:51 -0700
committertylercloke <tylercloke@gmail.com>2015-06-05 10:38:48 -0700
commit8565a36f8010760a3a65df8e521f442cc57e5934 (patch)
treec2cb74e1df7e80bab8bb48788668477f59b79f89
parent030581dbaa97f26b7cb5771661535da7aa8a83c0 (diff)
downloadchef-8565a36f8010760a3a65df8e521f442cc57e5934.tar.gz
Use version 1 as the default API version if not specified.
Default to API v1 and expect that places that were affected by v0 -> v1 changes have properly implemented fallback.
-rw-r--r--lib/chef/http/authenticator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http/authenticator.rb b/lib/chef/http/authenticator.rb
index b5367d4bc5..bffa9c4b3a 100644
--- a/lib/chef/http/authenticator.rb
+++ b/lib/chef/http/authenticator.rb
@@ -24,7 +24,7 @@ class Chef
class HTTP
class Authenticator
- DEFAULT_SERVER_API_VERSION = "0"
+ DEFAULT_SERVER_API_VERSION = "1"
attr_reader :signing_key_filename
attr_reader :raw_key