Skip to content

Commit e2317da

Browse files
authored
chore: fix some typos (#4584)
Signed-off-by: pudongair <[email protected]>
1 parent b288e64 commit e2317da

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ignite/config/chain/v1/validator_servers.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ func (v Validator) GetServers() (Servers, error) {
5353
// Initialize servers with default addresses
5454
s := DefaultServers()
5555

56-
// Ovewrite the default Cosmos SDK addresses with the configured ones
56+
// Overwrite the default Cosmos SDK addresses with the configured ones
5757
if err := mapstructure.Decode(v.App, &s); err != nil {
5858
return Servers{}, errors.Errorf("error reading validator app servers: %w", err)
5959
}
6060

61-
// Ovewrite the default Tendermint addresses with the configured ones
61+
// Overwrite the default Tendermint addresses with the configured ones
6262
if err := mapstructure.Decode(v.Config, &s); err != nil {
6363
return Servers{}, errors.Errorf("error reading tendermint validator config servers: %w", err)
6464
}
@@ -142,7 +142,7 @@ func mergeMaps(src, dst map[string]interface{}) map[string]interface{} {
142142
}
143143
}
144144

145-
// By default ovewrite the destination map with the source value
145+
// By default overwrite the destination map with the source value
146146
dst[k] = v
147147
}
148148

ignite/pkg/archive/tar_gz.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func addToArchive(tw *tar.Writer, filename string) error {
6060
}
6161

6262
// Use full path as name (FileInfoHeader only takes the basename)
63-
// If we don't do this the directory strucuture would
63+
// If we don't do this the directory structure would
6464
// not be preserved
6565
// https://golang.org/src/archive/tar/common.go?#L626
6666
header.Name = filename

ignite/services/chain/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (c *Chain) InitChain(ctx context.Context, initConfiguration, initGenesis bo
9898
}
9999
}
100100

101-
// ovewrite app config files with the values defined in Ignite's config file
101+
// overwrite app config files with the values defined in Ignite's config file
102102
if initConfiguration {
103103
if err := c.Configure(home, chainID, conf); err != nil {
104104
return err

packaging/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Ignite CLI is distributed on multiple platforms and package managers. This docum
44

55
## Snap
66

7-
Read the folowing resources to understand Snap.
7+
Read the following resources to understand Snap.
88

99
* <https://snapcraft.io/docs/snapcraft-overview>
1010
* <https://snapcraft.io/docs/go-plugin#heading--core22>

0 commit comments

Comments
 (0)