Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Feb 13, 2025
1 parent 41f90d2 commit 4f450fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/api/v1/testworkflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,11 +508,11 @@ func (s *TestkubeAPI) ReRunTestWorkflowExecutionHandler() fiber.Handler {
request.Config = make(map[string]string)
for key, value := range execution.ConfigParams {
if value.Sensitive {
return s.ClientError(c, errPrefix, errors.New("can't rerun test workflow with sensitive prameters"))
return s.ClientError(c, errPrefix, errors.New("can't rerun test workflow execution with sensitive prameters"))
}

if value.Truncated {
return s.ClientError(c, errPrefix, errors.New("can't rerun test workflow with truncated parameters"))
return s.ClientError(c, errPrefix, errors.New("can't rerun test workflow execution with truncated parameters"))
}

if !value.EmptyValue {
Expand Down

0 comments on commit 4f450fe

Please sign in to comment.