Skip to content

Commit e37b233

Browse files
committed
cluster-config backup: fix errors reporting during backup
Signed-off-by: Maxim Vasilenko <[email protected]>
1 parent 5e16deb commit e37b233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/backup/cmd/cluster-config/cluster_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func backupConfigs(cmd *cobra.Command, args []string) error {
115115

116116
return nil
117117
})
118-
if errors.Join(errs...) != nil {
118+
if err = errors.Join(errs...); err != nil {
119119
log.Printf("WARN: Some backup procedures failed, only successfully backed-up resources will be available:\n%v", err)
120120
}
121121

0 commit comments

Comments
 (0)