mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Fix typo: rrflags -> rflags (#2587)
Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -38,7 +38,7 @@ var labels = []string{
|
||||
"{rcode}",
|
||||
"{rsize}",
|
||||
"{duration}",
|
||||
headerReplacer + "rrflags}",
|
||||
headerReplacer + "rflags}",
|
||||
}
|
||||
|
||||
// value returns the current value of label.
|
||||
@@ -89,7 +89,7 @@ func value(state request.Request, rr *dnstest.Recorder, label string) string {
|
||||
return EmptyValue
|
||||
}
|
||||
return strconv.FormatFloat(time.Since(rr.Start).Seconds(), 'f', -1, 64) + "s"
|
||||
case headerReplacer + "rrflags}":
|
||||
case headerReplacer + "rflags}":
|
||||
if rr != nil && rr.Msg != nil {
|
||||
return flagsToString(rr.Msg.MsgHdr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user