Skip to content

Commit d207d75

Browse files
committed
untyped: fix logger parameters (CID 507669 508062)
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 6b0b1e5 commit d207d75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cmt_untyped.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ int cmt_untyped_set(struct cmt_untyped *untyped, uint64_t timestamp, double val,
106106
labels_count, label_vals,
107107
CMT_TRUE);
108108
if (!metric) {
109-
cmt_log_error(untyped->cmt, "unable to retrieve metric: %s for untyped %s_%s_%s",
110-
untyped->map, untyped->opts.ns, untyped->opts.subsystem,
109+
cmt_log_error(untyped->cmt, "unable to retrieve metric for untyped %s_%s_%s",
110+
untyped->opts.ns, untyped->opts.subsystem,
111111
untyped->opts.name);
112112
return -1;
113113
}
@@ -130,8 +130,8 @@ int cmt_untyped_get_val(struct cmt_untyped *untyped,
130130
&val);
131131
if (ret == -1) {
132132
cmt_log_error(untyped->cmt,
133-
"unable to retrieve metric value: %s for untyped %s_%s_%s",
134-
untyped->map, untyped->opts.ns, untyped->opts.subsystem,
133+
"unable to retrieve metric value for untyped %s_%s_%s",
134+
untyped->opts.ns, untyped->opts.subsystem,
135135
untyped->opts.name);
136136
return -1;
137137
}

0 commit comments

Comments
 (0)