mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
resources: Replace error handling in GetRemote with try (note)
Closes #13216
This commit is contained in:
@@ -192,10 +192,6 @@ func (r *resourceAdapter) Content(ctx context.Context) (any, error) {
|
||||
return r.target.Content(ctx)
|
||||
}
|
||||
|
||||
func (r *resourceAdapter) Err() resource.ResourceError {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *resourceAdapter) GetIdentity() identity.Identity {
|
||||
return identity.FirstIdentity(r.target)
|
||||
}
|
||||
|
Reference in New Issue
Block a user