mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
refact(deps): bump k8s and client-go deps to version v0.20.2 (#294)
Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
parent
533e17a9aa
commit
b1aa6ab51a
2196 changed files with 306727 additions and 251810 deletions
|
|
@ -19,6 +19,7 @@ limitations under the License.
|
|||
package v1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
zfsv1 "github.com/openebs/zfs-localpv/pkg/apis/openebs.io/zfs/v1"
|
||||
|
|
@ -61,13 +62,13 @@ func NewFilteredZFSRestoreInformer(client internalclientset.Interface, namespace
|
|||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ZfsV1().ZFSRestores(namespace).List(options)
|
||||
return client.ZfsV1().ZFSRestores(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ZfsV1().ZFSRestores(namespace).Watch(options)
|
||||
return client.ZfsV1().ZFSRestores(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&zfsv1.ZFSRestore{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue