Skip to content

Commit ed66222

Browse files
authored
Merge pull request #61 from Escape-Technologies/fix/k8s-integration
fix/k8s-integration
2 parents 6d50a98 + a014136 commit ed66222

File tree

109 files changed

+16834
-1822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+16834
-1822
lines changed

pkg/api/escape/locations.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ func UpdateLocation(ctx context.Context, id string, name, sshPublicKey string) e
8585
if err != nil {
8686
return fmt.Errorf("unable to init client: %w", err)
8787
}
88+
enabled := true
8889
req := client.LocationsAPI.UpdateLocation(ctx, id).UpdateLocationRequest(v3.UpdateLocationRequest{
89-
Name: name,
90-
SshPublicKey: sshPublicKey,
91-
Enabled: true,
90+
Name: &name,
91+
SshPublicKey: &sshPublicKey,
92+
Enabled: &enabled,
9293
})
9394
_, _, err = req.Execute()
9495
if err != nil {

pkg/api/v3/api_assets.go

Lines changed: 88 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)