Change in osmo-bts[master]: lc15bts_mgr_vty: Ensure writing well-formed config files

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Sep 25 19:32:48 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11094 )

Change subject: lc15bts_mgr_vty: Ensure writing well-formed config files
......................................................................

lc15bts_mgr_vty: Ensure writing well-formed config files

Every new node level should only add one additional space, not two!

Change-Id: Ic890429a6ff1e0c89fe1c6a159c6ee6ecbcf9a5a
---
M src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
index e1ddfc7..80751fb 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
@@ -251,9 +251,9 @@
 				struct lc15bts_volt_limit *limit)
 {
 	vty_out(vty, " %s%s", name, VTY_NEWLINE);
-	vty_out(vty, "   threshold warning min %d%s",
+	vty_out(vty, "  threshold warning min %d%s",
 		limit->thresh_warn_min, VTY_NEWLINE);
-	vty_out(vty, "   threshold critical min %d%s",
+	vty_out(vty, "  threshold critical min %d%s",
 		limit->thresh_crit_min, VTY_NEWLINE);
 }
 
@@ -261,7 +261,7 @@
 				struct lc15bts_vswr_limit *limit)
 {
 	vty_out(vty, " %s%s", name, VTY_NEWLINE);
-	vty_out(vty, "   threshold warning max %d%s",
+	vty_out(vty, "  threshold warning max %d%s",
 		limit->thresh_warn_max, VTY_NEWLINE);
 }
 
@@ -269,9 +269,9 @@
 				struct lc15bts_pwr_limit *limit)
 {
 	vty_out(vty, " %s%s", name, VTY_NEWLINE);
-	vty_out(vty, "   threshold warning max %d%s",
+	vty_out(vty, "  threshold warning max %d%s",
 		limit->thresh_warn_max, VTY_NEWLINE);
-	vty_out(vty, "   threshold critical max %d%s",
+	vty_out(vty, "  threshold critical max %d%s",
 		limit->thresh_crit_max, VTY_NEWLINE);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/11094
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic890429a6ff1e0c89fe1c6a159c6ee6ecbcf9a5a
Gerrit-Change-Number: 11094
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180925/3601befc/attachment.htm>


More information about the gerrit-log mailing list