Skip to content

Commit

Permalink
Fix MachineID field in the Attach Volume call of orictl
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdr committed Nov 20, 2023
1 parent 184e250 commit 030a99d
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 ori.MachineRunti
return err
}

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

Expand Down

0 comments on commit 030a99d

Please sign in to comment.