Skip to content

Commit

Permalink
shell completion: test the correct cache for minions
Browse files Browse the repository at this point in the history
  • Loading branch information
llua committed Feb 27, 2015
1 parent abfd1a8 commit 3a45315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/zsh_completion.zsh
Expand Up @@ -27,7 +27,7 @@ _minions(){
zstyle ":completion:$curcontext:" cache-policy _salt_caching_policy
fi

if _cache_invalid salt/modules || ! _retrieve_cache salt/modules; then
if _cache_invalid salt/minions || ! _retrieve_cache salt/minions; then
_peons=( ${${(f)"$(salt-key -l acc)"}[2,-1]} )
_store_cache salt/minions _peons
fi
Expand Down

0 comments on commit 3a45315

Please sign in to comment.