Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

No guard for DATABASE_URL env var #19

@osis

Description

@osis

While setting up a new environment, I noticed I started getting this error...

Test Panicked
  Error 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client
  /usr/local/go/src/runtime/panic.go:491

Which was a bit alarming, but I think it's actually the result of not setting this environment variable.

Tracked it down to maybe this part of the source not functioning properly?

Also noticed that the tests don't cover this case. https://github.com/cloudfoundry-incubator/notifications/blob/master/application/environment_test.go#L63

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions