Skip to content

Commit

Permalink
Remove stray log statement (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 authored Feb 13, 2024
1 parent 9a1e885 commit 5c8bc10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/backup/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ func newScript(c *Config, envVars map[string]string) (*script, func() error, err
} else {
_ = os.Setenv(currentKey, currentVal)
}
s.logger.Info(fmt.Sprintf("unset %v: %v", currentKey, currentVal))
}(key, currentVal, currentOk)

if err := os.Setenv(key, value); err != nil {
Expand All @@ -99,7 +98,6 @@ func newScript(c *Config, envVars map[string]string) (*script, func() error, err
err,
)
}
s.logger.Info(fmt.Sprintf("set %v: %v", key, value))
}
s.registerHook(hookLevelPlumbing, func(error) error {
s.stats.EndTime = time.Now()
Expand Down

0 comments on commit 5c8bc10

Please sign in to comment.