MT#63868 permissions: consider skipped reload as 200

Answer 200 for the trusted tables reload,
even when it's skipped (due to the disabled cache).

Change-Id: I6477bde4036df4a3a7f8ecef3ee230da2197c789
(cherry picked from commit 4f9af53a99)
(cherry picked from commit ffb3c2a54a)
mr14.1.1
Donat Zenichev 2 months ago
parent a890c1b70e
commit d406443eb8

@ -17,7 +17,7 @@
+ } else { + } else {
+ LM_DBG("Skip trusted sources reload in hash buckets, caching is " + LM_DBG("Skip trusted sources reload in hash buckets, caching is "
+ "disabled.\n"); + "disabled.\n");
+ rpc->fault(c, 500, "Reload skipped (disabled cache)"); + rpc->fault(c, 200, "Reload skipped (disabled cache)");
} }
- rpc->rpl_printf(c, "Reload OK"); - rpc->rpl_printf(c, "Reload OK");

Loading…
Cancel
Save