Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grid5000
reference-repository
Commits
a7da5c0a
Commit
a7da5c0a
authored
8 years ago
by
Jérémie Gaidamour
Browse files
Options
Downloads
Patches
Plain Diff
[dev] Turned an error message to a warning
parent
fad53bfa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generators/oar-properties/oar-properties.rb
+1
-1
1 addition, 1 deletion
generators/oar-properties/oar-properties.rb
with
1 addition
and
1 deletion
generators/oar-properties/oar-properties.rb
+
1
−
1
View file @
a7da5c0a
...
@@ -266,7 +266,7 @@ if options[:diff]
...
@@ -266,7 +266,7 @@ if options[:diff]
properties_keys
[
"diff"
][
k
]
=
v_ref
unless
v_oar
properties_keys
[
"diff"
][
k
]
=
v_ref
unless
v_oar
if
v_oar
&&
v_oar
!=
v_ref
&&
v_ref
!=
NilClass
&&
v_oar
!=
NilClass
if
v_oar
&&
v_oar
!=
v_ref
&&
v_ref
!=
NilClass
&&
v_oar
!=
NilClass
# Detect inconsistency between the type (String/Fixnum) of properties generated by this script and the existing values on the server.
# Detect inconsistency between the type (String/Fixnum) of properties generated by this script and the existing values on the server.
raise
"Error: the OAR property '
#{
k
}
' is a '
#{
v_oar
}
' on the server and this script uses '
#{
v_ref
}
' for this property."
puts
"Error: the OAR property '
#{
k
}
' is a '
#{
v_oar
}
' on the server and this script uses '
#{
v_ref
}
' for this property."
end
end
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment