Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
reference-repository
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
grid5000
reference-repository
Commits
a7da5c0a
Commit
a7da5c0a
authored
Sep 15, 2016
by
Jérémie Gaidamour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] Turned an error message to a warning
parent
fad53bfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
generators/oar-properties/oar-properties.rb
generators/oar-properties/oar-properties.rb
+1
-1
No files found.
generators/oar-properties/oar-properties.rb
View file @
a7da5c0a
...
...
@@ -266,7 +266,7 @@ if options[:diff]
properties_keys
[
"diff"
][
k
]
=
v_ref
unless
v_oar
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.
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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment