Skip to content

Commit 10f17e3

Browse files
authored
fix(orchestrator): typo (#315)
Signed-off-by: Gloria Ciavarrini <[email protected]>
1 parent e3ebb0c commit 10f17e3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-orchestrator-backend': patch
3+
---
4+
5+
Fixed a typo in FilterBuilder error message

workspaces/orchestrator/plugins/orchestrator-backend/src/helpers/filterBuilder.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 The Backstage Authors
2+
* Copyright Red Hat, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
import {
1718
FieldFilter,
1819
FieldFilterOperatorEnum,
@@ -112,7 +113,7 @@ export function buildFilterCondition(
112113
}
113114

114115
if (!isOperatorSupported(filters.operator)) {
115-
throw new Error(`Unsopported operator ${filters.operator}`);
116+
throw new Error(`Unsupported operator ${filters.operator}`);
116117
}
117118

118119
const fieldDef = introspection.find(f => f.name === filters.field);

0 commit comments

Comments
 (0)