mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-24 22:20:28 +01:00
Remove stray log statement (#359)
This commit is contained in:
parent
9a1e885138
commit
5c8bc107de
@ -89,7 +89,6 @@ func newScript(c *Config, envVars map[string]string) (*script, func() error, err
|
|||||||
} else {
|
} else {
|
||||||
_ = os.Setenv(currentKey, currentVal)
|
_ = os.Setenv(currentKey, currentVal)
|
||||||
}
|
}
|
||||||
s.logger.Info(fmt.Sprintf("unset %v: %v", currentKey, currentVal))
|
|
||||||
}(key, currentVal, currentOk)
|
}(key, currentVal, currentOk)
|
||||||
|
|
||||||
if err := os.Setenv(key, value); err != nil {
|
if err := os.Setenv(key, value); err != nil {
|
||||||
@ -99,7 +98,6 @@ func newScript(c *Config, envVars map[string]string) (*script, func() error, err
|
|||||||
err,
|
err,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
s.logger.Info(fmt.Sprintf("set %v: %v", key, value))
|
|
||||||
}
|
}
|
||||||
s.registerHook(hookLevelPlumbing, func(error) error {
|
s.registerHook(hookLevelPlumbing, func(error) error {
|
||||||
s.stats.EndTime = time.Now()
|
s.stats.EndTime = time.Now()
|
||||||
|
Loading…
Reference in New Issue
Block a user