* fix: missing bracket in examples

* fix: add note that auth env variables are assumed to be set in `influx config` for CLI examples (#2843).

Co-Authored-By: kerry-cho <cdh0012@naver.com>

* Update styles-default.scss

Co-authored-by: kerry-cho <cdh0012@naver.com>
pull/2855/head
Jason Stirnaman 2021-07-15 12:14:08 -05:00 committed by GitHub
parent 1cf0cc393d
commit c97a268740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
// InfluxData Docs Default Theme (Light) // InfluxData Docs Default Theme (Light)
// Import Tools // Import Tools
@import "tools/icomoon", @import "tools/icomoon",

View File

@ -57,14 +57,16 @@ to update a bucket. Updating a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket list`)_ - The bucket ID _(provided in the output of `influx bucket list`)_
- The name or ID of the organization the bucket belongs to. - The name or ID of the organization the bucket belongs to.
{{< cli/influx-creds-note >}}
##### Update the name of a bucket ##### Update the name of a bucket
```sh ```sh
# Syntax # Syntax
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name> influx bucket update -i <bucket-id> -n <new-bucket-name>
# Example # Example
influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket influx bucket update -i 034ad714fdd6f000 -n my-new-bucket
``` ```
##### Update a bucket's retention period ##### Update a bucket's retention period

View File

@ -37,7 +37,7 @@ to create an `influx` CLI config and set it as active:
influx config create --config-name <config-name> \ influx config create --config-name <config-name> \
--host-url http://localhost:8086 \ --host-url http://localhost:8086 \
--org <your-org> \ --org <your-org> \
--token <your-auth-token \ --token <your-auth-token> \
--active --active
``` ```

View File

@ -50,14 +50,16 @@ to update a bucket. Updating a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket list`)_ - The bucket ID _(provided in the output of `influx bucket list`)_
- The name or ID of the organization the bucket belongs to. - The name or ID of the organization the bucket belongs to.
{{< cli/influx-creds-note >}}
##### Update the name of a bucket ##### Update the name of a bucket
```sh ```sh
# Syntax # Syntax
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name> influx bucket update -i <bucket-id> -n <new-bucket-name>
# Example # Example
influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket influx bucket update -i 034ad714fdd6f000 -n my-new-bucket
``` ```
##### Update a bucket's retention period ##### Update a bucket's retention period

View File

@ -35,7 +35,7 @@ to create an `influx` CLI config and set it as active:
influx config create --config-name <config-name> \ influx config create --config-name <config-name> \
--host-url http://localhost:8086 \ --host-url http://localhost:8086 \
--org <your-org> \ --org <your-org> \
--token <your-auth-token \ --token <your-auth-token> \
--active --active
``` ```