[XS] Change in osmo-ttcn3-hacks[master]: 5gc: OGS_UEInfo: Rename g_tout_http to avoid collision with Prometheu...
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44228?usp=email ) Change subject: 5gc: OGS_UEInfo: Rename g_tout_http to avoid collision with Prometheus_Checker ...................................................................... 5gc: OGS_UEInfo: Rename g_tout_http to avoid collision with Prometheus_Checker A module willing to extend from both OGS_UEInfo and Prometheus_Checker will result in a ttcn3 compiler error regarding this collision. Change-Id: I55ea3e56ea703eee312cf29c276593bb846005f5 --- M 5gc/OGS_UEInfo.ttcn 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve osmith: Looks good to me, approved diff --git a/5gc/OGS_UEInfo.ttcn b/5gc/OGS_UEInfo.ttcn index e463006..10aba1f 100644 --- a/5gc/OGS_UEInfo.ttcn +++ b/5gc/OGS_UEInfo.ttcn @@ -44,7 +44,7 @@ } type component OGS_UEInfo_CT extends http_CT { - var float g_tout_http := 5.0; + var float g_ogs_ueinfo_tout_http := 5.0; }; function f_OGS_UEInfo_init(charstring http_host, integer http_port := c_OGS_UEInfo_default_http_port) @@ -62,8 +62,8 @@ { var HTTPMessage http_resp; /* page=-1 needed to avoid paging... */ - f_http_tx_request(url := "/ue-info?page=-1", method := "GET", tout := g_tout_http); - http_resp := f_http_rx_response(tr_HTTP_Resp(200), tout := g_tout_http); + f_http_tx_request(url := "/ue-info?page=-1", method := "GET", tout := g_ogs_ueinfo_tout_http); + http_resp := f_http_rx_response(tr_HTTP_Resp(200), tout := g_ogs_ueinfo_tout_http); return http_resp.response.body; } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44228?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I55ea3e56ea703eee312cf29c276593bb846005f5 Gerrit-Change-Number: 44228 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin