File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments