Skip to content

Commit

Permalink
gosimple lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Apr 18, 2023
1 parent a6af0ca commit ba247e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/kubernetes/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,9 @@ func (c *client) TailContainer(ctx context.Context, ctn *pipeline.Container) (io
// create object to store container logs
var logs io.ReadCloser

var logsFunc wait.ConditionFunc

// create function for periodically capturing
// the logs from the container with backoff
logsFunc = func() (bool, error) {
var logsFunc wait.ConditionFunc = func() (bool, error) {
// create options for capturing the logs from the container
//
// https://pkg.go.dev/k8s.io/api/core/v1?tab=doc#PodLogOptions
Expand Down

0 comments on commit ba247e7

Please sign in to comment.