Skip to content

Commit

Permalink
Rename parameter to ingestSelfLogs
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Erbrecht <[email protected]>
  • Loading branch information
franciscovalentecastro and jefferbrecht authored Apr 19, 2024
1 parent 8ffda40 commit af7aaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confgenerator/self_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func generateFilterMapSeverityFieldComponent(ctx context.Context) []fluentbit.Co
}

// This method creates a component that outputs all ops-agent self logs to Cloud Logging.
func generateOutputSelfLogsComponent(ctx context.Context, userAgent string, DefaultSelfLogCollection bool) fluentbit.Component {
func generateOutputSelfLogsComponent(ctx context.Context, userAgent string, ingestSelfLogs bool) fluentbit.Component {
outputLogNames := []string{healthLogsTag}
if DefaultSelfLogCollection {

Check failure on line 212 in confgenerator/self_logs.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

undefined: DefaultSelfLogCollection

Check failure on line 212 in confgenerator/self_logs.go

View workflow job for this annotation

GitHub Actions / test (windows-latest)

undefined: DefaultSelfLogCollection
// Ingest fluent-bit logs to Cloud Logging if enabled.
Expand Down

0 comments on commit af7aaa6

Please sign in to comment.