Extend Filter interface with Trigger() and use it for pods and nodes

This commit is contained in:
Wojciech Tyczynski 2016-06-03 15:23:26 +02:00
parent adef1ee4ab
commit eaa713f8da
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) *RE
// Usually you should reuse your RESTCreateStrategy.
strategy := &NotNamespaceScoped{}
storageInterface := storageDecorator(
s, 100, &testgroup.TestType{}, prefix, strategy, newListFunc)
s, 100, &testgroup.TestType{}, prefix, strategy, newListFunc, storage.NoTriggerPublisher)
store := &registry.Store{
NewFunc: func() runtime.Object { return &testgroup.TestType{} },
// NewListFunc returns an object capable of storing results of an etcd list.