Skip to content

Commit

Permalink
Fix MachineID field in the Attach Volume call of orictl (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdr authored Nov 20, 2023
1 parent b87a17f commit 8a20ab6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func Run(ctx context.Context, streams clicommon.Streams, client iri.MachineRunti
return err
}

if _, err := client.AttachVolume(ctx, &iri.AttachVolumeRequest{Volume: volume}); err != nil {
if _, err := client.AttachVolume(ctx, &iri.AttachVolumeRequest{Volume: volume, MachineId: opts.MachineID}); err != nil {
return err
}

Expand Down

0 comments on commit 8a20ab6

Please sign in to comment.