pespin submitted this change.
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(-)
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 change 44228. To unsubscribe, or for help writing mail filters, visit settings.