Skip to content

Commit

Permalink
chore: fix multirm unit test flake (#8949)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaecalderon authored Mar 5, 2024
1 parent e8b0165 commit 54aa739
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/internal/rm/multirm/multirm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package multirm

import (
"fmt"
"slices"

"github.com/sirupsen/logrus"
"golang.org/x/exp/maps"
Expand All @@ -19,6 +20,7 @@ import (
// ErrRMConflict returns a detailed error if multiple resource managers define a resource pool
// with the same name.
func ErrRMConflict(rmNames []string, rp string) error {
slices.Sort(rmNames)
return fmt.Errorf("resource pool %s exists for both resource managers %v,", rp, rmNames)
}

Expand Down

0 comments on commit 54aa739

Please sign in to comment.