Skip to content

Commit

Permalink
Unquote URI to avoid host must be a URL or a host:port pair: "'https:…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbogus committed Sep 14, 2018
1 parent 6385d9c commit 2aabae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func main() {
IncreaseLimit: increaseLimitParam,
DecreaseLimit: decreaseLimitParam}
return scale(kindParam, namespaceParam, nameParam, newSize,
&apiContext{URL: apiURLParam,
&apiContext{URL: unquoteURI(apiURLParam),
User: apiUserParam,
Passwd: apiPasswdParam,
TokenFile: apiTokenParam,
Expand Down

0 comments on commit 2aabae3

Please sign in to comment.