Skip to content

Commit

Permalink
Fix deprecated library method
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaak committed Feb 26, 2024
1 parent a6d9636 commit 90e33e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/gatherers/clusterconfig/operators_pods_and_events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func Test_UnhealtyOperators_FetchPodContainerLog(t *testing.T) {
buf: bytes.NewBuffer(make([]byte, 0, bufferSize)),
containerName: "testContainer",
isPrevious: false,
maxBytes: pointer.Int64Ptr(bufferSize),
maxBytes: pointer.Int64(bufferSize),
},
wantErr: false,
},
Expand All @@ -283,7 +283,7 @@ func Test_UnhealtyOperators_FetchPodContainerLog(t *testing.T) {
buf: bytes.NewBuffer(make([]byte, 0, bufferSize)),
containerName: "testContainer",
isPrevious: true,
maxBytes: pointer.Int64Ptr(bufferSize),
maxBytes: pointer.Int64(bufferSize),
},
wantErr: false,
},
Expand Down

0 comments on commit 90e33e3

Please sign in to comment.