TT#47373 Do not execute ngcpcfg_update_perms for 'values/show'

These commands do not perfom dangerous git calls,
at the same time we slowed them down a lot which
causes very slow nightly testing.

Previously:

> root@web01a:/tmp# time ngcpcfg values eventexport.transfer.password
> ...
> real  0m5.505s

With the new changes:

> root@web01a:/tmp# time ngcpcfg values eventexport.transfer.password
> ...
> real	0m0.127s

Change-Id: I937b4522eb8dbe4f91ada57c978ed4183e7e23fd
changes/20/25320/3
Alexander Lutay 7 years ago
parent 4f2fb64879
commit 7ee73dd20a

@ -135,7 +135,9 @@ fi
case ${1:-} in case ${1:-} in
init-mgmt|\ init-mgmt|\
init-shared|\ init-shared|\
initialise) initialise|\
show|\
values)
action "$@" action "$@"
;; ;;
apply|\ apply|\
@ -150,9 +152,7 @@ case ${1:-} in
pull|\ pull|\
push|\ push|\
services|\ services|\
show|\
status|\ status|\
values|\
set|\ set|\
del|\ del|\
patch) patch)

Loading…
Cancel
Save