We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84adaf7 + 8a63ca1 commit 7c75e4fCopy full SHA for 7c75e4f
1 file changed
src/polycubectl/completion/polycubectl.sh
@@ -23,7 +23,6 @@ parse_yaml() {
23
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
24
. /usr/share/bash-completion/bash_completion
25
26
-# TODO: Get this from configuration file and env variable
27
BASE_URL_="http://localhost:9000/polycube/v1/"
28
29
_polycubectl_completions() {
@@ -33,7 +32,7 @@ _polycubectl_completions() {
33
32
fi
34
35
BASE_URL=${POLYCUBECTL_URL:-$config_url}
36
- BASE_URL=${BASE_URL:-BASE_URL_}
+ BASE_URL=${BASE_URL:-$BASE_URL_}
37
local cur prev
38
_get_comp_words_by_ref -n ":,=" cur prev
39
local words
0 commit comments