Skip to content

Commit

Permalink
ncm-metaconfig: fix a typo in 'actions' resource description
Browse files Browse the repository at this point in the history
  • Loading branch information
jouvin committed Mar 1, 2024
1 parent 125da86 commit a97a687
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ncm-metaconfig/src/main/pan/components/metaconfig/schema.pan
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

0 comments on commit a97a687

Please sign in to comment.