Chore: Remove unused Go code (#28852)
* Chore: Remove more unused Go code Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
1 parent
8c765e8068
commit
4dd7b7a82d
47 files changed
+44
-381
No files matched your search
@@ -24,7 +24,9 @@ func (e URLValidationError) Error() string {
|
||||
return fmt.Sprintf("validation of data source URL %q failed: %s", e.URL, e.Err.Error())
|
||||
}
|
||||
|
||||
// nolint:unused
|
||||
// Unwrap returns the wrapped error.
|
||||
// Used by errors package.
|
||||
func (e URLValidationError) Unwrap() error {
|
||||
return e.Err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user