File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 34
34
*/
35
35
Influxdb::Influxdb (String host, uint16_t port) {
36
36
if (port == 443 ) {
37
- // this happens usualy when influxdb is behind fw/proxy. Mostly, when influxdb is switched to https, the port remains the same (8086/9999 )
37
+ // this happens usualy when influxdb is behind fw/proxy. Mostly, when influxdb is switched to https, the port remains the same (8086)
38
38
// port number shouldn't be qualificator for secure connection, either scheme or a flag
39
39
_serverUrl = " https://" ;
40
40
} else {
@@ -71,7 +71,7 @@ void Influxdb::setBucket(String bucket) {
71
71
72
72
/* *
73
73
* Set the influxDB port.
74
- * @param port v1.x uses 8086, v2 uses 9999
74
+ * @param port both v1.x and v3 use 8086
75
75
*/
76
76
void Influxdb::setPort (uint16_t port){
77
77
int b = _serverUrl.indexOf (" :" ,5 );
You can’t perform that action at this time.
0 commit comments