Skip to content

Commit dcf96c9

Browse files
Fix rebase
1 parent 5e1f293 commit dcf96c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser/ndt_meta.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ func (mfd *MetaFileData) PopulateConnSpec(connSpec schema.Web100ValueMap) {
9494
connSpec.SetBool("websockets", mfd.Websockets)
9595
}
9696
}
97-
s, ok := mfd.Fields["server_ip"]
97+
s, ok := connSpec["server_ip"]
9898
// TODO - extract function for this stanza
9999
if ok {
100100
if s != "" {
101101
handleIP(connSpec, "server", s.(string))
102102
}
103103
} else {
104104
metrics.WarningCount.WithLabelValues(
105-
"table", "unknown", "missing server_ip").Inc()
105+
"ndt", "unknown", "missing server_ip").Inc()
106106
}
107107
s, ok = connSpec["client_ip"]
108108
if ok {
@@ -112,7 +112,7 @@ func (mfd *MetaFileData) PopulateConnSpec(connSpec schema.Web100ValueMap) {
112112
} else {
113113
log.Println("client_ip missing from .meta")
114114
metrics.WarningCount.WithLabelValues(
115-
"table", "unknown", "missing client_ip").Inc()
115+
"ndt", "unknown", "missing client_ip").Inc()
116116
}
117117
}
118118

0 commit comments

Comments
 (0)