Skip to content

Commit 048ed11

Browse files
author
Martin Kosiba
committed
fix typo
1 parent 142a2d5 commit 048ed11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/routing/remote_action_router.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (ar *remoteActionRouter) RouteAction(ctx context.Context, digestFunction di
5050

5151
platformKey, err := platform.NewKey(digestFunction.GetInstanceName(), action.Platform)
5252
if err != nil {
53-
return nil, platform.Key{}, nil, nil, util.StatusWrapWithCode(err, status.Error(codes.Internal, "Malformed platform in remote action router response"))
53+
return nil, platform.Key{}, nil, nil, util.StatusWrapWithCode(err, codes.Internal, "Malformed platform in remote action router response")
5454
}
5555

5656
if len(response.InvocationKeys) == 0 {
@@ -60,7 +60,7 @@ func (ar *remoteActionRouter) RouteAction(ctx context.Context, digestFunction di
6060
for _, anyKey := range response.InvocationKeys {
6161
invocationKey, err := invocation.NewKey(anyKey)
6262
if err != nil {
63-
return nil, platform.Key{}, nil, nil, util.StatusWrapWithCode(err, status.Error(codes.Internal, "Malformed invocation key in remote action router response"))
63+
return nil, platform.Key{}, nil, nil, util.StatusWrapWithCode(err, codes.Internal, "Malformed invocation key in remote action router response")
6464
}
6565
invocationKeys = append(invocationKeys, invocationKey)
6666
}

0 commit comments

Comments
 (0)