From 5aee19549f34d31564e7306c0fdee0f2c2912556 Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Tue, 21 Dec 2021 14:23:36 +0100 Subject: [PATCH] Update README.md --- internal/ccMetric/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ccMetric/README.md b/internal/ccMetric/README.md index 54cd422..1787ff0 100644 --- a/internal/ccMetric/README.md +++ b/internal/ccMetric/README.md @@ -4,7 +4,7 @@ As described in the [ClusterCockpit specifications](https://github.com/ClusterCo It is basically a copy of the [InfluxDB line protocol](https://github.com/influxdata/line-protocol) `MutableMetric` interface with one extension. Besides the tags and fields, it contains a list of meta information (re-using the `Tag` structure of the original protocol): -``` +```golang type ccMetric struct { name string // same as tags []*influx.Tag // original @@ -17,7 +17,7 @@ type CCMetric interface { influx.MutableMetric // the same functions as defined by influx.MutableMetric RemoveTag(key string) // this is not published by the original influx.MutableMetric Meta() map[string]string - MetaList() []*lp.Tag + MetaList() []*inlux.Tag AddMeta(key, value string) HasMeta(key string) bool GetMeta(key string) (string, bool)