Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant