refactor: no rate limits must return nil.
This commit is contained in:
parent
987e8a93bd
commit
aeffe1036d
2 changed files with 11 additions and 1 deletions
|
@ -1118,6 +1118,12 @@ func TestParseRateSets(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
desc: "no rate limits labels",
|
||||
labels: map[string]string{},
|
||||
expected: nil,
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range testCases {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue