Skip to content

Commit 53a0bb9

Browse files
committed
Fix build
1 parent 760efee commit 53a0bb9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

agent/agentsocket/service.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func (s *DRPCAgentSocketService) SyncStart(_ context.Context, req *proto.SyncSta
3737
}
3838

3939
if err := s.unitManager.Register(req.Unit); err != nil {
40-
// If already registered, that's okay - we can still update status
4140
if !errors.Is(err, unit.ErrUnitAlreadyRegistered) {
4241
return &proto.SyncStartResponse{}, nil
4342
}

0 commit comments

Comments
 (0)