Skip to content

Commit

Permalink
improve error message, duplicated should be duplicate
Browse files Browse the repository at this point in the history
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
  • Loading branch information
mahdikhashan committed Feb 18, 2025
1 parent 9d26d1a commit 2e9713b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/plugins/task-topology/topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func Test_readTopologyFromPgAnnotations(t *testing.T) {
},
},
topology: nil,
err: fmt.Errorf("task %s is duplicated in job <%s/%s>", "ps", "default", "job1"),
err: fmt.Errorf("task %s is duplicate in job <%s/%s>", "ps", "default", "job1"),
},
{
description: "redundant punctuations",
Expand Down

0 comments on commit 2e9713b

Please # to comment.