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

[Bug] Input Key mismatch for Azure config #256

Open
shiv-am0 opened this issue Jan 9, 2024 · 0 comments
Open

[Bug] Input Key mismatch for Azure config #256

shiv-am0 opened this issue Jan 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shiv-am0
Copy link

shiv-am0 commented Jan 9, 2024

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

@shiv-am0 shiv-am0 added the bug Something isn't working label Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant