Change controller context rate limiter test to ensure they are the same

pointer

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl 2022-02-22 09:15:10 +00:00
parent d998e37a44
commit 944f9d4103

View File

@ -38,5 +38,5 @@ func Test_NewContextFactory(t *testing.T) {
assert.NoError(t, err)
assert.NotNil(t, ctx1.RESTConfig.RateLimiter)
assert.Equal(t, ctx1.RESTConfig.RateLimiter, ctx2.RESTConfig.RateLimiter)
assert.Same(t, ctx1.RESTConfig.RateLimiter, ctx2.RESTConfig.RateLimiter)
}