mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 19:08:22 +00:00
doc: update comments and run goimports
This commit is contained in:
parent
deb206b7d7
commit
91c5c9a2d0
@ -544,12 +544,13 @@ type Config struct {
|
|||||||
RetryInterval time.Duration `mapstructure:"-" json:"-"`
|
RetryInterval time.Duration `mapstructure:"-" json:"-"`
|
||||||
RetryIntervalRaw string `mapstructure:"retry_interval"`
|
RetryIntervalRaw string `mapstructure:"retry_interval"`
|
||||||
|
|
||||||
// RetryJoinEC2 configuration
|
// RetryJoinEC2 specifies the configuration for auto-join on EC2.
|
||||||
RetryJoinEC2 RetryJoinEC2 `mapstructure:"retry_join_ec2"`
|
RetryJoinEC2 RetryJoinEC2 `mapstructure:"retry_join_ec2"`
|
||||||
|
|
||||||
// The config struct for the GCE tag server discovery feature.
|
// RetryJoinGCE specifies the configuration for auto-join on GCE.
|
||||||
RetryJoinGCE RetryJoinGCE `mapstructure:"retry_join_gce"`
|
RetryJoinGCE RetryJoinGCE `mapstructure:"retry_join_gce"`
|
||||||
|
|
||||||
|
// RetryJoinAzure specifies the configuration for auto-join on Azure.
|
||||||
RetryJoinAzure RetryJoinAzure `mapstructure:"retry_join_azure"`
|
RetryJoinAzure RetryJoinAzure `mapstructure:"retry_join_azure"`
|
||||||
|
|
||||||
// RetryJoinWan is a list of addresses to join -wan with retry enabled.
|
// RetryJoinWan is a list of addresses to join -wan with retry enabled.
|
||||||
|
@ -3,6 +3,7 @@ package agent
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/Azure/azure-sdk-for-go/arm/network"
|
"github.com/Azure/azure-sdk-for-go/arm/network"
|
||||||
"github.com/Azure/go-autorest/autorest"
|
"github.com/Azure/go-autorest/autorest"
|
||||||
"github.com/Azure/go-autorest/autorest/azure"
|
"github.com/Azure/go-autorest/autorest/azure"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user