Skip to content

Commit

Permalink
test test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanKnight committed Mar 17, 2022
1 parent 8fc8f3a commit 47034d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions staging/src/kubevirt.io/client-go/kubecli/vmi.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"io/ioutil"
"net/http"
"net/url"
"path"
"strconv"
"strings"
"time"
Expand Down Expand Up @@ -148,10 +147,7 @@ func RequestFromConfig(config *rest.Config, resource, name, namespace, subresour
return nil, fmt.Errorf("Unsupported Protocol %s", u.Scheme)
}

u.Path = path.Join(
u.Path,
fmt.Sprintf("/apis/subresources.kubevirt.io/%s/namespaces/%s/%s/%s/%s", v1.ApiStorageVersion, namespace, resource, name, subresource),
)
u.Path = fmt.Sprintf("/apis/subresources.kubevirt.io/%s/namespaces/%s/%s/%s/%s", v1.ApiStorageVersion, namespace, resource, name, subresource)
req := &http.Request{
Method: http.MethodGet,
URL: u,
Expand Down

0 comments on commit 47034d1

Please sign in to comment.