Skip to content

fix(HMS-3369): Implement replacing as beforeSend hook #3178

fix(HMS-3369): Implement replacing as beforeSend hook

fix(HMS-3369): Implement replacing as beforeSend hook #3178

Triggered via pull request January 10, 2024 20:31
Status Failure
Total duration 2m 10s
Artifacts

gotest.yml

on: pull_request
💬 Commit checks
20s
💬 Commit checks
🛠 Go Build
24s
🛠 Go Build
🏢 Code format & OpenAPI lint
1m 39s
🏢 Code format & OpenAPI lint
🏫 Go linter
28s
🏫 Go linter
🏅 Unit tests
2m 1s
🏅 Unit tests
🏆 Integration tests
1m 44s
🏆 Integration tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
🏫 Go linter: internal/logging/ctx.go#L1
: # github.com/RHEnVision/provisioning-backend/internal/logging [github.com/RHEnVision/provisioning-backend/internal/logging.test]
🏫 Go linter: internal/logging/sentry_replacer_test.go#L12
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L19
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L26
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L34
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L43
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L50
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L60
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L67
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏫 Go linter: internal/logging/sentry_replacer_test.go#L75
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L12
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L19
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L26
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L34
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L43
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L50
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L60
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L67
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L75
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)
🏅 Unit tests: internal/logging/sentry_replacer_test.go#L82
cannot use buf (variable of type *bytes.Buffer) as zerolog.LevelWriter value in argument to NewSentryReplacer: *bytes.Buffer does not implement zerolog.LevelWriter (missing method WriteLevel)