Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd committed Jun 10, 2024
1 parent f133934 commit 59047be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubehound/core/core_grpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func CoreClientGRPCIngest(ingestorConfig config.IngestorConfig, clusteName strin
}

log.I.Infof("Launching ingestion on %s [%s:%s]", ingestorConfig.API.Endpoint, clusteName, runID)
conn, err := grpc.Dial(ingestorConfig.API.Endpoint, dialOpt)
conn, err := grpc.NewClient(ingestorConfig.API.Endpoint, dialOpt)
if err != nil {
return fmt.Errorf("connect %s: %w", ingestorConfig.API.Endpoint, err)
}
Expand Down

0 comments on commit 59047be

Please sign in to comment.