Skip to content

Commit

Permalink
handle extensions/v1beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilson, Dan committed Aug 9, 2016
1 parent c1e6ee9 commit f14ca2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function (info) {

// v1beta3 and greater uses lowercase endpoints instead of
// camelCase and defines namespaces in the query URL.
if ((version === 'v1beta3' || version === 'v1')) {
if ((version === 'v1beta3' || version === 'v1' || version === 'extensions/v1beta1')) {
endpoint = endpoint.toLowerCase();
// Never use URL namespacing for namespace or node endpoints.
if (namespace && !endpoint.match(/^namespaces/) && !endpoint.match(/^nodes/)){
Expand Down

0 comments on commit f14ca2f

Please sign in to comment.