Skip to content
Snippets Groups Projects
Commit cb82db6c authored by ko_oler's avatar ko_oler
Browse files

правки по ПР: убраны лишние условия

parent 1998266b
Branches
Tags
No related merge requests found
......@@ -87,10 +87,8 @@ func (srv *Server) Action(ctx context.Context, in *pb.ActionRequest) (*pb.Action
if err != nil {
return nil, err
}
if actionURL.Scheme == "grpc" {
ext = actionURL.Extension()
}
}
svc, ok := srv.services[ext]
if !ok {
......
......@@ -162,10 +162,8 @@ func (s *Extension) Action(ctx context.Context, in *extension.ActionRequest) (*e
if err != nil {
return nil, err
}
if actionURL.Scheme == "grpc" {
ext = actionURL.Extension()
}
}
ok, err := extension.CheckInstalled(ctx, s.Content, in.SpaceId, in.EnvId, ext)
if err != nil {
return nil, errors.Wrap(err, "check extension installed")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment