mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-28 09:44:08 -04:00
Add VPNIP to nodestate
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
f2b3fc328b
commit
f827e479b1
9 changed files with 14 additions and 8 deletions
|
@ -113,7 +113,7 @@ func (a *API) ActivateAsCoordinator(in *pubproto.ActivateAsCoordinatorRequest, s
|
|||
return status.Errorf(codes.Internal, "node initialization: %v", err)
|
||||
}
|
||||
// persist node state on disk
|
||||
if err := a.core.PersistNodeState(role.Coordinator, ownerID, clusterID); err != nil {
|
||||
if err := a.core.PersistNodeState(role.Coordinator, coordPeer.VPNIP, ownerID, clusterID); err != nil {
|
||||
return status.Errorf(codes.Internal, "persist node state: %v", err)
|
||||
}
|
||||
diskUUID, err := a.core.GetDiskUUID()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue