Skip to content

Commit 3f2c3ed

Browse files
committed
comment
1 parent fb88360 commit 3f2c3ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v1/providers/lambdalabs/instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func (c *LambdaLabsClient) TerminateInstance(ctx context.Context, instanceID v1.
9090
InstanceIds: []string{string(instanceID)},
9191
}
9292

93+
// TODO: since "createInstance" also creates an SSH key, we should consider cleaning up the key pair here
9394
_, err := c.terminateInstance(ctx, request)
9495
if err != nil {
9596
return fmt.Errorf("failed to terminate instance: %w", err)

0 commit comments

Comments
 (0)