Skip to content

Commit

Permalink
Gandharva's changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnotoole committed Sep 12, 2024
1 parent ba17997 commit bef5fb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/client/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"encoding/json"
"fmt"
"log"
"net/http"

consts "github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk/pkg/common"
"github.com/HewlettPackard/hpegl-vmaas-cmp-go-sdk/pkg/models"
Expand All @@ -23,7 +24,7 @@ func (a *BrokerAPIService) GetMorpheusDetails(ctx context.Context) (models.Morph
// Get the service instance ID and Morpheus URL
ServiceSubscriptionDetailsResp := models.SubscriptionDetailsResponse{}
serviceSubscriptionDetailsAPI := &api{
method: "GET",
method: http.MethodGet,
path: consts.SubscriptionDetails,
client: a.Client,
removeVmaasCMPBasePath: true,
Expand All @@ -42,7 +43,7 @@ func (a *BrokerAPIService) GetMorpheusDetails(ctx context.Context) (models.Morph
MorpheusTokenResp := models.MorpheusTokenResponse{}
log.Printf(consts.MorpheusToken, ServiceSubscriptionDetailsResp.ServiceInstanceID)
morpheusTokenAPI := &api{
method: "GET",
method: http.MethodGet,
path: fmt.Sprintf(consts.MorpheusToken, ServiceSubscriptionDetailsResp.ServiceInstanceID),
client: a.Client,
removeVmaasCMPBasePath: true,
Expand Down

0 comments on commit bef5fb3

Please sign in to comment.