Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncm-metaconfig: fix a typo in 'actions' resource description #1663

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ncm-metaconfig/src/main/pan/components/metaconfig/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ${project.artifactId}_textrender_convert = {
foreach (idx; name; boolean_conversion) {
if(exists(SELF[name]) && SELF[name]) {
if(found) {
error(format('metaconfig element can only have one boolean conversion enabled, got %s', SELF));
error('metaconfig element can only have one boolean conversion enabled, got %s', SELF);
};
found = true;
};
Expand All @@ -51,7 +51,7 @@ type ${project.artifactId}_textrender_convert = {
foreach (idx; name; string_conversion) {
if(exists(SELF[name]) && SELF[name]) {
if(found) {
error(format('metaconfig element can only have one string conversion enabled, got %s', SELF));
error('metaconfig element can only have one string conversion enabled, got %s', SELF);
};
found = true;
};
Expand All @@ -63,7 +63,7 @@ type ${project.artifactId}_textrender_convert = {
foreach (idx; name; list_conversion) {
if(exists(SELF[name]) && SELF[name]) {
if(found) {
error(format('metaconfig element can only have one list conversion enabled, got %s', SELF));
error('metaconfig element can only have one list conversion enabled, got %s', SELF);
};
found = true;
};
Expand All @@ -75,7 +75,7 @@ type ${project.artifactId}_textrender_convert = {
foreach (idx; name; key_conversion) {
if(exists(SELF[name]) && SELF[name]) {
if(found) {
error(format('metaconfig element can only have one key case conversion enabled, got %s', SELF));
error('metaconfig element can only have one key case conversion enabled, got %s', SELF);
};
found = true;
};
Expand Down Expand Up @@ -135,7 +135,7 @@ type ${project.artifactId}_config = {
'contents' : ${project.artifactId}_extension
@{Predefined conversions from EDG::WP4::CCM::TextRender}
'convert' ? ${project.artifactId}_textrender_convert
@{Actions (i.e. names found in /software/components/metadata/commands) to run when processing the service.
@{Actions (i.e. names found in /software/components/metaconfig/commands) to run when processing the service.
Refer to the metaconfig_actions type definition for the available hooks
for when a command may be run.}
'actions' ? ${project.artifactId}_actions
Expand Down
Loading