Fix bash_completion cache path

In change 4cf62cf3 we started writing the
cache to ~/.cache/cinderclient/ - this script
needs to read from there.

Related-Bug: #1712835

Change-Id: Ib4de058af6b636d06ac360fe448b432e8e7733ad
This commit is contained in:
Eric Harney 2019-02-20 10:14:08 -05:00
parent 2e059b6d44
commit 7ee806f218
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ _cinder()
fi
if [[ "$prev" != "help" ]] ; then
COMPLETION_CACHE=~/.cinderclient/*/*-cache
COMPLETION_CACHE=~/.cache/cinderclient/*/*-cache
cflags="$_cinder_flags $_cinder_opts "$(cat $COMPLETION_CACHE 2> /dev/null | tr '\n' ' ')
COMPREPLY=($(compgen -W "${cflags}" -- ${cur}))
else