feat(influx): trim space on credentials file
parent
d753aa4459
commit
19d2e5580a
|
|
@ -3,6 +3,7 @@
|
|||
### Features
|
||||
|
||||
1. [16523](https://github.com/influxdata/influxdb/pull/16523): Change influx packages to be CRD compliant
|
||||
1. [16547](https://github.com/influxdata/influxdb/pull/16547): Allow trailing newline in credentials file and CLI integration
|
||||
|
||||
### UI Improvements
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ func getTokenFromDefaultPath() string {
|
|||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
return string(b)
|
||||
return strings.TrimSpace(string(b))
|
||||
}
|
||||
|
||||
func writeTokenToPath(tok, path, dir string) error {
|
||||
|
|
|
|||
Loading…
Reference in New Issue