Skip to content

Commit

Permalink
fix(compute/deploy): use correct API method
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Apr 18, 2024
1 parent 7c7dcae commit 87d9554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/commands/compute/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ func createService(g *global.Data, serviceName string, spinner text.Spinner, in
data, err := undocumented.Call(undocumented.CallOptions{
APIEndpoint: apiEndpoint,
HTTPClient: g.HTTPClient,
Method: http.MethodPost,
Method: http.MethodGet,
Path: fmt.Sprintf(undocumented.EntitledProductCheck, undocumented.ProductCompute),
Token: token,
Debug: debug,
Expand All @@ -607,7 +607,7 @@ func createService(g *global.Data, serviceName string, spinner text.Spinner, in
}

if !epr.HasAccess {
text.Info(out, "\n"+undocumented.EntitledProductMessageCompute+"\n\n")
text.Info(out, undocumented.EntitledProductMessageCompute+"\n\n")
cont, err := text.AskYesNo(out, "Are you sure you want to continue? [y/N]: ", in)
if err != nil {
return "", nil, err
Expand Down

0 comments on commit 87d9554

Please sign in to comment.