mirror of
https://github.com/restic/restic.git
synced 2025-10-29 11:59:33 +00:00
Add changelog and fix lint error
This commit is contained in:
@@ -65,7 +65,6 @@ func CombineErrors(errors ...error) (err error) {
|
||||
return nil // If no errors, return nil
|
||||
} else if !multipleErrors {
|
||||
return err // If only one error, return that first error
|
||||
} else {
|
||||
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
|
||||
}
|
||||
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user