@@ -31,7 +31,7 @@ import (
3131
3232 "connectrpc.com/connect"
3333 "github.com/metal-stack/api/go/client"
34- "github.com/metal-stack/api/go/metalstack/infra/v2"
34+ infrav2 "github.com/metal-stack/api/go/metalstack/infra/v2"
3535
3636 "github.com/metal-stack/pixie/api"
3737)
@@ -91,8 +91,8 @@ func (g *grpcbooter) BootSpec(m Machine) (*Spec, error) {
9191 if m .GUID != "" {
9292 // Very first dhcp call which contains Machine UUID, tell metal-api this uuid
9393 req := & infrav2.BootServiceDhcpRequest {
94- Uuid : string (m .GUID ),
95- PartitionId : g .partition ,
94+ Uuid : string (m .GUID ),
95+ Partition : g .partition ,
9696 }
9797 g .log .Info ("dhcp" , "req" , req )
9898 _ , err := g .apiclient .Infrav2 ().Boot ().Dhcp (ctx , connect .NewRequest (req ))
@@ -104,8 +104,8 @@ func (g *grpcbooter) BootSpec(m Machine) (*Spec, error) {
104104 } else {
105105 // machine asks for a dhcp answer, ask metal-api for a proper response in this partition
106106 req := & infrav2.BootServiceBootRequest {
107- Mac : m .MAC .String (),
108- PartitionId : g .partition ,
107+ Mac : m .MAC .String (),
108+ Partition : g .partition ,
109109 }
110110 g .log .Info ("boot" , "req" , req )
111111 resp , err := g .apiclient .Infrav2 ().Boot ().Boot (ctx , connect .NewRequest (req ))
0 commit comments