diff --git a/flow/connectors/utils/map.go b/flow/connectors/utils/map.go index 96cbea450c..09ecaa1ba1 100644 --- a/flow/connectors/utils/map.go +++ b/flow/connectors/utils/map.go @@ -1,6 +1,7 @@ package utils import ( + "slices" "strings" "golang.org/x/exp/maps" @@ -11,5 +12,7 @@ func KeysToString(m map[string]struct{}) string { return "" } - return strings.Join(maps.Keys(m), ",") + sm := maps.Keys(m) + slices.Sort[[]string](sm) + return strings.Join(sm, ",") }