Fix bash-completion script.
bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.
Closes #32588
Signed-off-by: Corey Farrell <git@cfware.com>
(cherry picked from commit eede2056fe
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
d17b69c5ae
commit
7e06704af9
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ _docker_image_build() {
|
|||
__docker_complete_containers_all --cur "${cur#*:}"
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W "$(__docker_plugins --type Network) $(__docker_networks) container:" -- "$cur") )
|
||||
COMPREPLY=( $( compgen -W "$(__docker_plugins_bundled --type Network) $(__docker_networks) container:" -- "$cur") )
|
||||
if [ "${COMPREPLY[*]}" = "container:" ] ; then
|
||||
__docker_nospace
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue