apache / apache/openwhisk-cli

inconsistency: wsk project does not respect WSK_CONFIG_FILE

Aperta
#436 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug help wanted
Lingua principale
Go
Stelle
109
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Wtih the `wskdeploy` integration, doing `WSK_CONFIG_FILE=/Users/anthony/.wskprops-iks wsk project deploy` does not use the config file set in the environment variable. `wsk project deploy` will use the wskprops in the default location `~/.wskprops`.

Workaround is to use `wsk project deploy --config ` which is similar to what wskdeploy uses.

Having 2 ways to set the config file can be confusing: "Use `WSK_CONFIG_FILE` env to specify location of wskprops and use `--config` when using wsk project commands"

Related Issue: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/809

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproduci il problema con `WSK_CONFIG_FILE=/Users/anthony/.wskprops-iks wsk project deploy`, quindi confrontalo con `wsk project deploy --config `. Traccia la gestione della configurazione del comando `wsk project deploy` e verifica che la variabile d’ambiente selezioni lo stesso file di `--config`; il file predefinito `~/.wskprops` non dovrebbe più sovrascriverlo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.