Add changelog and fix lint error

This commit is contained in:
Aneesh Nireshwalia
2024-02-24 13:47:49 -07:00
parent c0a1b9ada5
commit 5764300022
2 changed files with 13 additions and 2 deletions

View File

@@ -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)
}