fix: instance remove (#4602)

This commit is contained in:
Livio Spring
2022-10-26 13:06:48 +00:00
committed by GitHub
parent 001636f2b4
commit d721f725fd
89 changed files with 655 additions and 121 deletions
+1
View File
@@ -63,6 +63,7 @@ func (s *Server) UpdateInstance(ctx context.Context, req *system_pb.UpdateInstan
}
func (s *Server) RemoveInstance(ctx context.Context, req *system_pb.RemoveInstanceRequest) (*system_pb.RemoveInstanceResponse, error) {
ctx = authz.WithInstanceID(ctx, req.InstanceId)
details, err := s.command.RemoveInstance(ctx, req.InstanceId)
if err != nil {
return nil, err