Bjørn Erik Pedersen
9202117ba0
resources: Add more details to .Err
...
This commit adds a .Data object (a map with `Body`, `StatusCode` etc.) to the .Err returned from `resources.GetRemote`, which means you can now do:
```
{{ with .Err }}
{{ range $k, $v := .Data }}
{{ end }}
{{ end }}
```
Fixes #9708
2022-03-25 16:40:36 +01:00
..
2022-03-20 19:44:41 +01:00
2022-03-17 22:03:27 +01:00
2020-12-03 13:12:58 +01:00
2022-03-25 16:40:36 +01:00
2022-03-17 22:03:27 +01:00
2022-03-25 16:40:36 +01:00
2022-03-25 16:40:36 +01:00
2022-03-17 22:03:27 +01:00
2021-12-07 16:53:02 +01:00
2022-03-25 16:40:36 +01:00
2021-07-15 17:14:26 +02:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2020-04-07 21:59:20 +02:00
2019-08-13 18:09:46 +02:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-25 16:40:36 +01:00
2022-03-17 22:03:27 +01:00
2022-03-17 22:03:27 +01:00
2022-03-25 16:40:36 +01:00