mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 23:59:16 +02:00
Fix snapshot tests to pass regardless of helm version (#572)
* Fix snapshot tests to pass regardless of helm version Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
+3
-1
@@ -23,6 +23,8 @@ type logWriter struct {
|
||||
}
|
||||
|
||||
func (w *logWriter) Write(p []byte) (int, error) {
|
||||
w.log.Debugf("%s%s", w.prefix, strings.TrimSpace(string(p)))
|
||||
for _, line := range strings.Split(string(p), "\n") {
|
||||
w.log.Debugf("%s%s", w.prefix, strings.TrimSpace(line))
|
||||
}
|
||||
return len(p), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user