Browse Source

Merge pull request #1119 from influxdata/master

Fix a typo in the influxdb documentation
yosifkit 8 năm trước cách đây
mục cha
commit
cb2687f518
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      influxdb/content.md

+ 1 - 1
influxdb/content.md

@@ -197,7 +197,7 @@ To manually initialize the database and exit, the `/init-influxdb.sh` script can
 ```console
 $ docker run --rm \
       -e INFLUXDB_DB=db0 -e INFLUXDB_ADMIN_ENABLED=true \
-      -e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_USER=supersecretpassword \
+      -e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_PASSWORD=supersecretpassword \
       -e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=secretpassword \
       -v $PWD:/var/lib/influxdb \
       influxdb /init-influxdb.sh