update hashicorp/go-hclog and go-plugin to current version (#9613)
Run the E2E test on kind / get-go-version (push) Failing after 1m1s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 11s
Main CI / Build (push) Failing after 32s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m41s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m13s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m17s

Signed-off-by: Peter Woodman <peter@shortbus.org>
This commit is contained in:
peter woodman
2026-04-23 00:20:05 -04:00
committed by GitHub
parent 3b34fb8eff
commit 7549408e21
4 changed files with 44 additions and 23 deletions
@@ -196,3 +196,21 @@ func (l *logrusAdapter) Name() string {
func (l *logrusAdapter) StandardWriter(opts *hclog.StandardLoggerOptions) io.Writer {
panic("not implemented")
}
// GetLevel returns the current level
func (l *logrusAdapter) GetLevel() hclog.Level {
switch l.level {
case logrus.TraceLevel:
return hclog.Trace
case logrus.DebugLevel:
return hclog.Debug
case logrus.InfoLevel:
return hclog.Info
case logrus.WarnLevel:
return hclog.Warn
case logrus.ErrorLevel:
return hclog.Error
default:
return hclog.NoLevel
}
}