Skip to content

Commit e41b5d0

Browse files
CLOUDP-336714: [AtlasCLI] atlas_deployments_local_nocli_e2e fails (#4098)
1 parent e601d71 commit e41b5d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/cli/deployments/diagnostics.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ func (opts *diagnosticsOpts) Run(ctx context.Context) error {
112112
})
113113
}
114114

115-
d.Err = errors.Join(errs...).Error()
115+
if len(errs) > 0 {
116+
d.Err = errors.Join(errs...).Error()
117+
}
116118

117119
return opts.Print(d)
118120
}

0 commit comments

Comments
 (0)