Skip to content

Commit

Permalink
feat: add support for public ports (#1905)
Browse files Browse the repository at this point in the history
## Description:
GetCloudInstanceConfig need to support GET requests so it can be called
from the auth_request module in the nginx proxy with a short instance
uuid

## Is this change user facing?
NO

## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
  • Loading branch information
adschwartz authored Dec 8, 2023
1 parent c153873 commit 97a3d95
Show file tree
Hide file tree
Showing 5 changed files with 235 additions and 209 deletions.
5 changes: 3 additions & 2 deletions cli/cli/commands/cloud/load/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ func run(ctx context.Context, _ *flags.ParsedFlags, args *args.ParsedArgs) error
}

getConfigArgs := &api.GetCloudInstanceConfigArgs{
ApiKey: *apiKey,
InstanceId: instanceID,
ApiKey: apiKey,
InstanceId: &instanceID,
InstanceShortId: nil,
}
result, err := client.GetCloudInstanceConfig(ctx, getConfigArgs)
if err != nil {
Expand Down
Loading

0 comments on commit 97a3d95

Please sign in to comment.