Skip to content

Commit 3a037de

Browse files
committed
fix: try adding method to BlockedQueryTypes
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
1 parent 61b2bd0 commit 3a037de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/observability/v1alpha1/loki_limit_types.go

+4
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ func (t BlockedQueryTypes) String() string {
267267
return strings.Join(s, ",")
268268
}
269269

270+
func (t BlockedQueryTypes) BlockedQueryType() []BlockedQueryType {
271+
return t
272+
}
273+
270274
// MarshalYAML implements the yaml.Marshaler interface.
271275
func (t BlockedQueryTypes) MarshalYAML() (interface{}, error) {
272276
return t.String(), nil

0 commit comments

Comments
 (0)