diff options
author | Wuxiang <wuxiangzhou2010@gmail.com> | 2018-04-19 21:32:02 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-04-19 21:32:02 +0800 |
commit | 8f8774cf6dd5bbcba9fa3773fa34d13d6523a147 (patch) | |
tree | e17a5fd27cd0515b0be53965da216d1e936dca28 /cmd/puppeth | |
parent | c514fbccc036faafef995d422a74dbe5630e7e00 (diff) | |
download | dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.gz dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.zst dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.zip |
all: fix various typos (#16533)
* fix typo
* fix typo
* fix typo
Diffstat (limited to 'cmd/puppeth')
-rw-r--r-- | cmd/puppeth/module_dashboard.go | 2 | ||||
-rw-r--r-- | cmd/puppeth/module_explorer.go | 2 | ||||
-rw-r--r-- | cmd/puppeth/module_faucet.go | 6 | ||||
-rw-r--r-- | cmd/puppeth/module_node.go | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/cmd/puppeth/module_dashboard.go b/cmd/puppeth/module_dashboard.go index 3832b247f..4f9e88899 100644 --- a/cmd/puppeth/module_dashboard.go +++ b/cmd/puppeth/module_dashboard.go @@ -683,7 +683,7 @@ func deployDashboard(client *sshClient, network string, conf *config, config *da return nil, client.Stream(fmt.Sprintf("cd %s && docker-compose -p %s up -d --build --force-recreate", workdir, network)) } -// dashboardInfos is returned from an dashboard status check to allow reporting +// dashboardInfos is returned from a dashboard status check to allow reporting // various configuration parameters. type dashboardInfos struct { host string diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go index 427134153..bb43e5fe4 100644 --- a/cmd/puppeth/module_explorer.go +++ b/cmd/puppeth/module_explorer.go @@ -168,7 +168,7 @@ func (info *explorerInfos) Report() map[string]string { return report } -// checkExplorer does a health-check against an block explorer server to verify +// checkExplorer does a health-check against a block explorer server to verify // whether it's running, and if yes, whether it's responsive. func checkExplorer(client *sshClient, network string) (*explorerInfos, error) { // Inspect a possible block explorer container on the host diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 976bf04d0..8365bf47d 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -30,7 +30,7 @@ import ( "github.com/ethereum/go-ethereum/log" ) -// faucetDockerfile is the Dockerfile required to build an faucet container to +// faucetDockerfile is the Dockerfile required to build a faucet container to // grant crypto tokens based on GitHub authentications. var faucetDockerfile = ` FROM ethereum/client-go:alltools-latest @@ -138,7 +138,7 @@ func deployFaucet(client *sshClient, network string, bootnodes []string, config return nil, client.Stream(fmt.Sprintf("cd %s && docker-compose -p %s up -d --build --force-recreate", workdir, network)) } -// faucetInfos is returned from an faucet status check to allow reporting various +// faucetInfos is returned from a faucet status check to allow reporting various // configuration parameters. type faucetInfos struct { node *nodeInfos @@ -181,7 +181,7 @@ func (info *faucetInfos) Report() map[string]string { return report } -// checkFaucet does a health-check against an faucet server to verify whether +// checkFaucet does a health-check against a faucet server to verify whether // it's running, and if yes, gathering a collection of useful infos about it. func checkFaucet(client *sshClient, network string) (*faucetInfos, error) { // Inspect a possible faucet container on the host diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index 49c099112..3c70dbb4f 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -198,7 +198,7 @@ func (info *nodeInfos) Report() map[string]string { return report } -// checkNode does a health-check against an boot or seal node server to verify +// checkNode does a health-check against a boot or seal node server to verify // whether it's running, and if yes, whether it's responsive. func checkNode(client *sshClient, network string, boot bool) (*nodeInfos, error) { kind := "bootnode" |