Skip to content

Fix deprecated Google API and Echo middleware usage #2863

Description

@adityathebe

Fix SA1019 deprecations: option.WithCredentialsJSON and middleware.LoggerWithConfig

Address 2 staticcheck deprecation warnings:

  1. option.WithCredentialsJSON in checks/database_backup_gcp.go:145 - use google.CredentialsFromJSON() instead
  2. middleware.LoggerWithConfig in pkg/echo/server.go:48 - use middleware.RequestLoggerWithConfig instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions