Skip to content

Commit

Permalink
chore(docs): updated readme to reflect password character minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Dec 10, 2019
1 parent b7c2c99 commit c91263c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ $ bin/$(uname -s | tr '[:upper:]' '[:lower:]')/influx setup
Welcome to InfluxDB 2.0!
Please type your primary username: user
Please type your password: hunter2
Please type your password: my-password
Please type your password again: hunter2
Please type your password again: my-password
Please type your primary organization name.: my-org
Expand All @@ -128,7 +128,7 @@ Your token has been stored in /Users/you/.influxdbv2/credentials
You may get into a development loop where `influx setup` becomes tedious.
Some added flags can help:
```
$ bin/$(uname -s | tr '[:upper:]' '[:lower:]')/influx setup --username user --password hunter2 --org my-org --bucket my-bucket --retention 168 --token my-token --force
$ bin/$(uname -s | tr '[:upper:]' '[:lower:]')/influx setup --username user --password my-password --org my-org --bucket my-bucket --retention 168 --token my-token --force
```

`~/.influxdbv2/credentials` contains your auth token.
Expand Down
3 changes: 2 additions & 1 deletion logger/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func Shard(id uint64) zapcore.Field {
return zap.Uint64(DBShardIDKey, id)
}

<<<<<<< HEAD
// TraceInfo returns the traceID and if it was sampled from the Jaeger span
// found in the given context. It returns if a span associated to the context has been found.
func TraceInfo(ctx context.Context) (traceID string, sampled bool, found bool) {
Expand All @@ -100,7 +101,7 @@ func TraceInfo(ctx context.Context) (traceID string, sampled bool, found bool) {
return "", false, false
}

// OTTraceID returns a fields "ot_trace_id" and "ot_trace_sampled", values pulled from the (Jaeger) trace ID
// Trace returns a fields "ot_trace_id" and "ot_trace_sampled", values pulled from the (Jaeger) trace ID
// found in the given context. Returns zap.Skip() if the context doesn't have a trace ID.
func Trace(ctx context.Context) []zap.Field {
if span := opentracing.SpanFromContext(ctx); span != nil {
Expand Down

0 comments on commit c91263c

Please sign in to comment.