We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d8257 commit 768f5a7Copy full SHA for 768f5a7
linkerd/app/outbound/src/tls/logical/route.rs
@@ -162,7 +162,7 @@ impl prom::EncodeLabelSetMut for RouteLabels {
162
} = self;
163
parent.encode_label_set(enc)?;
164
route.encode_label_set(enc)?;
165
- ("hostname", hostname.to_string()).encode(enc.encode_label())?;
+ ("hostname", hostname.as_ref().as_str()).encode(enc.encode_label())?;
166
Ok(())
167
}
168
0 commit comments