From 6e50473337ebf7658d5c848e255b1170030e5fd8 Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Tue, 24 Oct 2023 11:58:29 +0200 Subject: [PATCH] Change AccountDelete signature --- coordinator/coordinatorclient/coordinatorclient.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinator/coordinatorclient/coordinatorclient.go b/coordinator/coordinatorclient/coordinatorclient.go index 37053d1e..b975e9cc 100644 --- a/coordinator/coordinatorclient/coordinatorclient.go +++ b/coordinator/coordinatorclient/coordinatorclient.go @@ -30,7 +30,7 @@ func New() CoordinatorClient { type CoordinatorClient interface { SpaceDelete(ctx context.Context, spaceId string, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (err error) - AccountDelete(ctx context.Context, conf *coordinatorproto.AccountDeletionConfirmPayload) (timestamp int64, err error) + AccountDelete(ctx context.Context, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (timestamp int64, err error) AccountRevertDeletion(ctx context.Context) (err error) StatusCheckMany(ctx context.Context, spaceIds []string) (statuses []*coordinatorproto.SpaceStatusPayload, err error) StatusCheck(ctx context.Context, spaceId string) (status *coordinatorproto.SpaceStatusPayload, err error) @@ -87,7 +87,7 @@ func (c *coordinatorClient) SpaceDelete(ctx context.Context, spaceId string, con }) } -func (c *coordinatorClient) AccountDelete(ctx context.Context, conf *coordinatorproto.AccountDeletionConfirmPayload) (timestamp int64, err error) { +func (c *coordinatorClient) AccountDelete(ctx context.Context, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (timestamp int64, err error) { confMarshalled, err := conf.Marshal() if err != nil { return