Skip to content

Commit

Permalink
Fix irictl-machine network interface attach request (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
so-sahu authored Apr 19, 2024
1 parent 0ea93f3 commit 66a6782
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ func Run(ctx context.Context, streams clicommon.Streams, client iri.MachineRunti
return err
}

if _, err := client.AttachNetworkInterface(ctx, &iri.AttachNetworkInterfaceRequest{NetworkInterface: networkInterface}); err != nil {
if _, err := client.AttachNetworkInterface(ctx, &iri.AttachNetworkInterfaceRequest{
MachineId: opts.MachineID,
NetworkInterface: networkInterface,
}); err != nil {
return err
}

Expand Down

0 comments on commit 66a6782

Please sign in to comment.