Skip to content

Commit

Permalink
Merge branch 'main' into prune-cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Nov 29, 2024
2 parents 5e410e9 + 87f7994 commit 4b8c9af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
initConfig sync.Once
)

// New returns a new Config with default values.
// NewConfig returns a new Config with default values.
func NewConfig() *Config {
return &Config{
sealedch: make(chan struct{}),
Expand Down
2 changes: 1 addition & 1 deletion types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (c Context) WithIsCheckTx(isCheckTx bool) Context {
return c
}

// WithIsRecheckTx called with true will also set true on checkTx in order to
// WithIsReCheckTx called with true will also set true on checkTx in order to
// enforce the invariant that if recheckTx = true then checkTx = true as well.
func (c Context) WithIsReCheckTx(isRecheckTx bool) Context {
if isRecheckTx {
Expand Down
2 changes: 1 addition & 1 deletion x/upgrade/plan/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func requireFileEquals(t *testing.T, path string, tf *TestFile) {
require.Equal(t, string(tf.Contents), string(file), "file contents")
}

// makeFileUrl converts the given path to a URL with the correct checksum query parameter.
// makeFileURL converts the given path to a URL with the correct checksum query parameter.
func makeFileURL(t *testing.T, path string) string {
t.Helper()
f, err := os.Open(path)
Expand Down

0 comments on commit 4b8c9af

Please sign in to comment.