Skip to content

Rename CLOUDAMQP_URL variable #30

@dustinturp84

Description

@dustinturp84

I noticed that CLOUDAMQP_URL is used a lot in our documentation for holding the AMQP connection string. To avoid conflicts with the CLI and our docs example code I propose a change in client/client.go from CLOUDAMQP_URL to CLOUDAMQP_API_URL or CLOUDAMQP_API_BASE_URL

if envURL := os.Getenv("CLOUDAMQP_URL"); envURL != "" {

The CLI is not satisfied with CLOUDAMQP_URL emptied and will attempt to use the AMQP connection string if set.

Happy to create a PR if this is accepted or other way to handle the env conflicts.

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