stats: cosmetic: print 'stats interval' before the reporters
It's better to have the common parameters printed first.
Change-Id: Ifb401d4d363fb70e89960ca739baba5ee55eefe8
Related: SYS#5713
diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c
index a4fc6ea..48e4f1c 100644
--- a/src/vty/stats_vty.c
+++ b/src/vty/stats_vty.c
@@ -680,12 +680,12 @@
{
struct osmo_stats_reporter *srep;
+ vty_out(vty, "stats interval %d%s", osmo_stats_config->interval, VTY_NEWLINE);
+
/* Loop through all reporters */
llist_for_each_entry(srep, &osmo_stats_reporter_list, list)
config_write_stats_reporter(vty, srep);
- vty_out(vty, "stats interval %d%s", osmo_stats_config->interval, VTY_NEWLINE);
-
return 1;
}