From 7ee73dd20a4b54f3321a331b685d163d91f855e3 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 5 Dec 2018 10:23:12 +0100 Subject: [PATCH] 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 --- sbin/ngcpcfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/ngcpcfg b/sbin/ngcpcfg index a583d083..d3106656 100755 --- a/sbin/ngcpcfg +++ b/sbin/ngcpcfg @@ -135,7 +135,9 @@ fi case ${1:-} in init-mgmt|\ init-shared|\ - initialise) + initialise|\ + show|\ + values) action "$@" ;; apply|\ @@ -150,9 +152,7 @@ case ${1:-} in pull|\ push|\ services|\ - show|\ status|\ - values|\ set|\ del|\ patch)