Skip to content

Commit

Permalink
Easy test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomleb committed Sep 17, 2024
1 parent 36c0532 commit cf0d7a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/stores/sqlpartition/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
package sqlpartition

import (
"cmp"
"context"
"os"

"github.com/rancher/apiserver/pkg/types"
lassopartition "github.com/rancher/lasso/pkg/cache/sql/partition"
Expand Down Expand Up @@ -145,7 +147,7 @@ func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, wr types

for range c {
response <- types.APIEvent{
Name: "resource.change",
Name: cmp.Or(os.Getenv("CATTLE_STEVE_CHANGE"), "resource.change"),
ResourceType: schema.ID,
}
}
Expand Down

0 comments on commit cf0d7a5

Please sign in to comment.