diff --git a/flyteadmin/pkg/manager/impl/util/shared.go b/flyteadmin/pkg/manager/impl/util/shared.go index cb1dca3528..24c97f416a 100644 --- a/flyteadmin/pkg/manager/impl/util/shared.go +++ b/flyteadmin/pkg/manager/impl/util/shared.go @@ -22,7 +22,6 @@ import ( ) func GetExecutionName(request admin.ExecutionCreateRequest) string { - if request.Name != "" { return request.Name } diff --git a/flytepropeller/pkg/compiler/transformers/k8s/inputs.go b/flytepropeller/pkg/compiler/transformers/k8s/inputs.go index 4ed9866b9b..22813d01e7 100644 --- a/flytepropeller/pkg/compiler/transformers/k8s/inputs.go +++ b/flytepropeller/pkg/compiler/transformers/k8s/inputs.go @@ -37,7 +37,7 @@ func validateInputs(nodeID common.NodeID, iface *core.TypedInterface, inputs cor inputType := validators.LiteralTypeForLiteral(inputVal) if !validators.AreTypesCastable(inputType, v.Type) { - errs.Collect(errors.NewMismatchingTypesErr(nodeID, inputVar, inputType.String(), "", v.Type.String())) + errs.Collect(errors.NewMismatchingTypesErr(nodeID, inputVar, v.Type.String(), "", inputType.String())) continue }