Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

[Bug] Input Key mismatch for Azure config #256

@shiv-am0

Description

@shiv-am0

Observed Behaviour

The flag for PLUGIN_CONTAINER input is named as azure.blob-container-name as seen in the following snippet:-
&cli.StringFlag{ Name: "azure.blob-container-name", Usage: "Azure Blob Storage container name", EnvVars: []string{"PLUGIN_CONTAINER", "AZURE_CONTAINER_NAME"},

But, the same variable is being accessed using name azure.container-name as shown in the following snippet:-
Azure: azure.Config{ AccountName: c.String("azure.account-name"), AccountKey: c.String("azure.account-key"), ContainerName: c.String("azure.container-name"), BlobStorageURL: c.String("azure.blob-storage-url"), Azurite: false, Timeout: c.Duration("backend.operation-timeout"),

Version(s) Affected

No response

Steps to Reproduce

  1. Refer the Azure config flags here
  2. Refer the config setting here

Expected Behaviour

Both the names for the input must be same

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions