Skip to content

Commit fee369a

Browse files
Mention the right status code in inline comment.
1 parent 7156ac9 commit fee369a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InfluxDbClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ bool InfluxDBClient::validateConnection() {
453453
_lastErrorResponse = FPSTR(UnitialisedMessage);
454454
return false;
455455
}
456-
// on version 1.x /ping will by default return status code 200
456+
// on version 1.x /ping will by default return status code 204, without verbose
457457
String url = _serverUrl + (_dbVersion==2?"/ready":"/ping?verbose=true");
458458
INFLUXDB_CLIENT_DEBUG("[D] Validating connection to %s\n", url.c_str());
459459

0 commit comments

Comments
 (0)