mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-02 19:17:39 +01:00
Coding style
This commit is contained in:
@@ -10,7 +10,7 @@ type Providers struct {
|
||||
// PrdDocker holds docker provider configuration
|
||||
type PrdDocker struct {
|
||||
Endpoint string `yaml:"endpoint,omitempty" json:",omitempty"`
|
||||
ApiVersion string `yaml:"api_version,omitempty" json:",omitempty"`
|
||||
APIVersion string `yaml:"api_version,omitempty" json:",omitempty"`
|
||||
TLSCertsPath string `yaml:"tls_certs_path,omitempty" json:",omitempty"`
|
||||
TLSVerify bool `yaml:"tls_verify,omitempty" json:",omitempty"`
|
||||
WatchByDefault bool `yaml:"watch_by_default,omitempty" json:",omitempty"`
|
||||
@@ -20,7 +20,7 @@ type PrdDocker struct {
|
||||
// PrdSwarm holds swarm provider configuration
|
||||
type PrdSwarm struct {
|
||||
Endpoint string `yaml:"endpoint,omitempty" json:",omitempty"`
|
||||
ApiVersion string `yaml:"api_version,omitempty" json:",omitempty"`
|
||||
APIVersion string `yaml:"api_version,omitempty" json:",omitempty"`
|
||||
TLSCertsPath string `yaml:"tls_certs_path,omitempty" json:",omitempty"`
|
||||
TLSVerify bool `yaml:"tls_verify,omitempty" json:",omitempty"`
|
||||
WatchByDefault bool `yaml:"watch_by_default,omitempty" json:",omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user