File tree Expand file tree Collapse file tree
calico-cloud_versioned_docs/version-22-2/_includes/components/FelixConfig
calico-cloud/_includes/components/FelixConfig
calico-enterprise_versioned_docs
version-3.21-2/_includes/components/FelixConfig
version-3.22-2/_includes/components/FelixConfig
version-3.23-2/_includes/components/FelixConfig
calico-enterprise/_includes/components/FelixConfig
version-3.29/_includes/components/FelixConfig
version-3.30/_includes/components/FelixConfig
version-3.31/_includes/components/FelixConfig
version-3.32/_includes/components/FelixConfig
calico/_includes/components/FelixConfig Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ const FelixConfig = ({ configType, name }) => {
3232 // Debugging logs
3333
3434 if ( ! matchedGroup ) {
35- return < p > No matching group found for '{ name } '.</ p > ;
35+ // Fail the build loudly rather than silently dropping the group's fields.
36+ // `name` must exactly match a group Name in config-params.json, which is
37+ // auto-synced from the Felix source repos. A prose/casing sweep once
38+ // restyled these lookup keys and silently dropped fields (DOCS-2970).
39+ throw new Error (
40+ `FelixConfig: no group named '${ name } ' in config-params.json. The 'name' `
41+ + `prop must exactly match a group Name in config-params.json; do not `
42+ + `restyle it as prose.`
43+ ) ;
3644 }
3745
3846 let content ;
You can’t perform that action at this time.
0 commit comments