Merge pull request #4804 from nii236/lint/services/admin
fixed export lint issues in services/adminpull/4786/head
commit
7e3a3e0e64
|
@ -6,6 +6,7 @@
|
|||
### Bugfixes
|
||||
- [#4768](https://github.com/influxdb/influxdb/pull/4768): CLI history skips blank lines. Thanks @pires
|
||||
- [#4766](https://github.com/influxdb/influxdb/pull/4766): Update CLI usage output. Thanks @aneshas
|
||||
- [#4804](https://github.com/influxdb/influxdb/pull/4804): Complete lint for services/admin. Thanks @nii236
|
||||
|
||||
## v0.9.5 [unreleased]
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ const (
|
|||
DefaultBindAddress = ":8083"
|
||||
)
|
||||
|
||||
// Config represents the configuration for the admin service.
|
||||
type Config struct {
|
||||
Enabled bool `toml:"enabled"`
|
||||
BindAddress string `toml:"bind-address"`
|
||||
|
@ -12,6 +13,7 @@ type Config struct {
|
|||
HTTPSCertificate string `toml:"https-certificate"`
|
||||
}
|
||||
|
||||
// NewConfig returns an instance of Config with defaults.
|
||||
func NewConfig() Config {
|
||||
return Config{
|
||||
BindAddress: DefaultBindAddress,
|
||||
|
|
Loading…
Reference in New Issue