GODT-1670: restore update [skip-ci]

GODT-1670: Log the gRPC call
This commit is contained in:
Romain LE JEUNE
2022-07-25 10:03:54 +02:00
committed by Jakub
parent d3f9756bdb
commit 649364beb5
4 changed files with 47 additions and 8 deletions

View File

@ -404,7 +404,12 @@ func (s *Service) CheckUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty,
func (s *Service) InstallUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
s.log.Info("InstallUpdate")
// TO-DO GODT-1670 Implement update install
go func() {
defer s.panicHandler.HandlePanic()
s.installUpdate()
}()
return &emptypb.Empty{}, nil
}