Commit 31436ce
committed
internal/config/config.go: Do not save config when LAB_CORE_TOKEN is used
@doronbehar reported a bug in lab where they specified LAB_CORE_TOKEN on
the command line and then value was saved in the config file. Using
LAB_CORE_TOKEN or LAB_CORE_HOST should not overwrite the config file.
Do not save the config when LAB_CORE_TOKEN or LAB_CORE_HOST is specified.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>1 parent cce34e2 commit 31436ce
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
0 commit comments