Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/mariodietner/loki
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodietnercodit committed Jan 18, 2024
2 parents c6ad3f0 + 0a9b487 commit 9037de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func RemoveRulerConfigAnnotation(ctx context.Context, k k8s.Client, name, namesp
return nil
}

func getLokiStack(ctx context.Context, k k8s.Client, key client.ObjectKey) (*lokiv1.RulerConfig, error) {
var s lokiv1.RulerConfig
func getLokiStack(ctx context.Context, k k8s.Client, key client.ObjectKey) (*lokiv1.LokiStack, error) {
var s lokiv1.LokiStack

if err := k.Get(ctx, key, &s); err != nil {

Expand Down
2 changes: 1 addition & 1 deletion operator/hack/rulerconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: loki.grafana.com/v1
kind: RulerConfig
metadata:
name: rulerconfig-dev
name: lokistack-dev
spec:
alertmanager:
endpoints:
Expand Down

0 comments on commit 9037de0

Please sign in to comment.