Skip to content

Commit f903e88

Browse files
committed
support 4.2
1 parent 92c9530 commit f903e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Prometheus/Utils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func encodeLabels<Labels: MetricLabels>(_ labels: Labels, _ excludingKeys: [Stri
3434
}
3535
var output = [String]()
3636
dictionary.sorted { $0.key > $1.key }.forEach { (key, value) in
37-
output.append(#"\#(key)="\#(value)""#)
37+
output.append("\(key)=\"\(value)\"")
3838
}
3939
return output.isEmpty ? "" : "{\(output.joined(separator: ", "))}"
4040
} catch {

0 commit comments

Comments
 (0)