Skip to content

Commit

Permalink
Merge pull request #209 from kubescape/arange-fields
Browse files Browse the repository at this point in the history
fields arrangement
  • Loading branch information
David Wertenteil authored Feb 6, 2024
2 parents 85b2af3 + ed75a3b commit 28cdf89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions continuousscanning/watchbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ func NewDynamicWatch(ctx context.Context, client dynamic.Interface, gvr schema.G
}

type SelfHealingWatch struct {
client dynamic.Interface
gvr schema.GroupVersionResource
opts metav1.ListOptions
makeWatchFunc func(ctx context.Context, client dynamic.Interface, gvr schema.GroupVersionResource, opts metav1.ListOptions) (watch.Interface, error)
client dynamic.Interface
currWatch watch.Interface
makeWatchFunc func(ctx context.Context, client dynamic.Interface, gvr schema.GroupVersionResource, opts metav1.ListOptions) (watch.Interface, error)
gvr schema.GroupVersionResource
}

func NewSelfHealingWatch(client dynamic.Interface, gvr schema.GroupVersionResource, opts metav1.ListOptions) *SelfHealingWatch {
Expand Down
4 changes: 2 additions & 2 deletions continuousscanning/watchbuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ func assertWatchAction(t *testing.T, gotAction ktest.Action, wantGVR schema.Grou

func TestNewDynamicWatch(t *testing.T) {
tt := []struct {
name string
wantErr error
inputGVR schema.GroupVersionResource
name string
wantActions []ktest.Action
wantErr error
}{
{
name: "",
Expand Down

0 comments on commit 28cdf89

Please sign in to comment.