From f14ca2f1ecf2d818132e410a6699586e542748b2 Mon Sep 17 00:00:00 2001 From: "Wilson, Dan" Date: Mon, 8 Aug 2016 23:21:10 -0700 Subject: [PATCH] handle extensions/v1beta1 --- lib/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request.js b/lib/request.js index 7cd5185..6c68efb 100644 --- a/lib/request.js +++ b/lib/request.js @@ -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/)){