Bug #1079
Image quota error with ruby 1.8.7
Status: | Closed | Start date: | 01/23/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Daniel Molina | % Done: | 0% | |
Category: | - | |||
Target version: | Release 3.2.1 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.2 |
Description
Mon Jan 23 10:28:54 2012 [AuM][D]: Message received: LOG I 4
/usr/lib/one/ruby/quota.rb:85:in `round': wrong number of arguments (1
for 0) (ArgumentError)
round method in ruby 1.8.7 does not accept any argument
1.9: (File.size(template['PATH']).to_f / 2**20).round(2)
1.8: (File.size(template['PATH']).to_f / 2**20).round
Thanks Graeme Gillies for the feedback
Associated revisions
bug #1079: Image quota error with ruby 1.8.7
bug #1079: Image quota error with ruby 1.8.7(cherry picked from commit c38bfca2198a8a9dca89f4fec27718af33a7d64d)
History
#1 Updated by Daniel Molina over 9 years ago
- Subject changed from Image quota error with rube 1.8.7 to Image quota error with ruby 1.8.7
#2 Updated by Ruben S. Montero over 9 years ago
- Target version changed from Release 3.2 to Release 3.4 - S0
#3 Updated by Carlos Martín over 9 years ago
- Target version changed from Release 3.4 - S0 to Release 3.2.1
#4 Updated by Carlos Martín over 9 years ago
- Status changed from New to Closed
- Resolution set to fixed