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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19752 )
Change subject: StatsD_Types: Fix compiler warnings about missing record fields
......................................................................
StatsD_Types: Fix compiler warnings about missing record fields
StatsD_Types.ttcn: In TTCN-3 module `StatsD_Types':
StatsD_Types.ttcn:51.1-55.1: In template definition `tr_StatsDMetric':
StatsD_Types.ttcn:51.126-55.1: warning: Field `srate' is missing from template for record type `@StatsD_Types.StatsDMetric'
StatsD_Types.ttcn:57.1-61.1: In template definition `tr_StatsDMetricCounter':
StatsD_Types.ttcn:57.106-61.1: warning: Field `srate' is missing from template for record type `@StatsD_Types.StatsDMetric'
StatsD_Types.ttcn:63.1-67.1: In template definition `tr_StatsDMetricGauge':
StatsD_Types.ttcn:63.104-67.1: warning: Field `srate' is missing from template for record type `@StatsD_Types.StatsDMetric'
Change-Id: I6d3b40dc719b42481dacb5599eb7eeb3be0426b4
---
M library/StatsD_Types.ttcn
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/52/19752/1
diff --git a/library/StatsD_Types.ttcn b/library/StatsD_Types.ttcn
index 2142b8c..546e469 100644
--- a/library/StatsD_Types.ttcn
+++ b/library/StatsD_Types.ttcn
@@ -51,19 +51,22 @@
template StatsDMetric tr_StatsDMetric(template MetricName name, template MetricValue val := ?, template MetricType mtype) := {
name := name,
val := val,
- mtype := mtype
+ mtype := mtype,
+ srate := *
}
template StatsDMetric tr_StatsDMetricCounter(template MetricName name, template MetricValue val := ?) := {
name := name,
val := val,
- mtype := "c"
+ mtype := "c",
+ srate := *
}
template StatsDMetric tr_StatsDMetricGauge(template MetricName name, template MetricValue val := ?) := {
name := name,
val := val,
- mtype := "g"
+ mtype := "g",
+ srate := *
}
} with { encode "TEXT" }
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19752
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6d3b40dc719b42481dacb5599eb7eeb3be0426b4
Gerrit-Change-Number: 19752
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200821/08b9ac94/attachment.htm>