Update photon controller go SDK in vendor code.
This commit is contained in:
4
vendor/github.com/vmware/photon-controller-go-sdk/photon/info.go
generated
vendored
4
vendor/github.com/vmware/photon-controller-go-sdk/photon/info.go
generated
vendored
@@ -17,11 +17,11 @@ type InfoAPI struct {
|
||||
client *Client
|
||||
}
|
||||
|
||||
var infoUrl = "/info"
|
||||
var infoUrl = rootUrl + "/info"
|
||||
|
||||
// Get info
|
||||
func (api *InfoAPI) Get() (info *Info, err error) {
|
||||
res, err := api.client.restClient.Get(api.client.Endpoint+infoUrl, api.client.options.TokenOptions.AccessToken)
|
||||
res, err := api.client.restClient.Get(api.client.Endpoint+infoUrl, api.client.options.TokenOptions)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user