mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
bug #1641: Bug detecting an object from parameters (network or disk)
(cherry picked from commit 13391ab282)
This commit is contained in:
1 parent
c19004041d
commit
446604396e
1 file changed
+1
-1
@@ -557,7 +557,7 @@ EOT
|
||||
|
||||
template<<"#{section.upcase}=[\n"
|
||||
template<<" #{name.upcase}_UNAME=\"#{user}\",\n" if user
|
||||
if object.match(/^\d$/)
|
||||
if object.match(/^\d+$/)
|
||||
template<<" #{name.upcase}_ID=#{object}\n"
|
||||
else
|
||||
template<<" #{name.upcase}=\"#{object}\"\n"
|
||||
|
||||
Reference in new issue
Block a user