Skip to content

Commit

Permalink
trigger cosmovisor lint in another way (ref #18303)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 30, 2023
1 parent e9a7f3b commit 9ddad7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tools/cosmovisor/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"
)

// TRIGGER LINT COSMOVISOR

// environment variable names
const (
EnvHome = "DAEMON_HOME"
Expand Down
2 changes: 1 addition & 1 deletion tools/cosmovisor/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (l Launcher) Run(args []string, stdout, stderr io.Writer) (bool, error) {
// It returns (true, nil) if an upgrade should be initiated (and we killed the process)
// It returns (false, err) if the process died by itself
// It returns (false, nil) if the process exited normally without triggering an upgrade. This is very unlikely
// to happen with "start" but may happen with short-lived commands like `simd export ...`
// to happen with "start" but may happen with short-lived commands like `simd genesis export ...`
func (l Launcher) WaitForUpgradeOrExit(cmd *exec.Cmd) (bool, error) {
currentUpgrade, err := l.cfg.UpgradeInfo()
if err != nil {
Expand Down

0 comments on commit 9ddad7f

Please sign in to comment.