Ruler: Rule group not found API message (#5362)
Ruler: Rule group not found API message (#5362)

* Ruler: Rule group not found API message

We copied over the ruler code as part of #5089, and it seems that at the same time we stopped depending on the object storage implementation of Cortex. Turns out, there are (slight) differences between the clients which meant that response returned by the API when we try to get a rule group that is not found had changed.

This ensures that is consistent with the error assertion that we have in the code for the ruler.

* Use the method from the interfaace to determine object storage

* also include DeleteObject

* appease the linter
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki