Skip to content

Commit

Permalink
cache: Use the new 'prvider.NewResource'
Browse files Browse the repository at this point in the history
  • Loading branch information
xescugc committed Oct 29, 2019
1 parent 2ebcecd commit ad83d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/cache_test.go
Expand Up @@ -14,7 +14,7 @@ import (
func TestSetGet(t *testing.T) {
t.Run("Success", func(t *testing.T) {
c := cache.New()
r := provider.NewResource("id", "", nil, nil, nil)
r := provider.NewResource("id", "", nil)
err := c.Set("k", []provider.Resource{r})
require.NoError(t, err)

Expand Down

0 comments on commit ad83d2f

Please sign in to comment.