Add safe access in case no delete change provided
This commit is contained in:
parent
3895dc8e14
commit
58f01da459
@ -36,8 +36,8 @@ func (c *coordinatorClient) ChangeStatus(ctx context.Context, spaceId string, de
|
||||
}
|
||||
resp, err := cl.SpaceStatusChange(ctx, &coordinatorproto.SpaceStatusChangeRequest{
|
||||
SpaceId: spaceId,
|
||||
DeletionChangeId: deleteRaw.Id,
|
||||
DeletionChangePayload: deleteRaw.RawChange,
|
||||
DeletionChangeId: deleteRaw.GetId(),
|
||||
DeletionChangePayload: deleteRaw.GetRawChange(),
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user