Skip to content

Commit

Permalink
chore: fix format with go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gaige committed Sep 11, 2023
1 parent 019c2e1 commit a915c3a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions libbeat/autodiscover/providers/kubernetes/kubernetes_stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build ( aix || solaris )
//go:build aix || solaris
// +build aix solaris

package kubernetes
Expand Down Expand Up @@ -58,10 +58,9 @@ type EventManager interface {

// Provider implements autodiscover provider for docker containers
type Provider struct {
logger *logp.Logger
logger *logp.Logger
}


// AutodiscoverBuilder builds and returns an autodiscover provider
func AutodiscoverBuilder(
beatName string,
Expand All @@ -73,7 +72,7 @@ func AutodiscoverBuilder(
logger := logp.NewLogger("autodiscover")

p := &Provider{
logger: logger,
logger: logger,
}

return p, nil
Expand Down Expand Up @@ -111,4 +110,4 @@ func ShouldDelete(event mapstr.M, field string, logger *logp.Logger) {
if err != nil {
logger.Debugf("Failed to delete field '%s': %s", field, err)
}
}
}

0 comments on commit a915c3a

Please sign in to comment.