Bug #2868

In ruby OCA pool_page_size is not available when OpenNebula module is not included in an object

Added by Javi Fontan about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:05/05/2014
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Client API & Library
Target version:Release 4.6.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.6

Description

pool_page_size is defined as an accessor to OpenNebula module. This method won't be available until it is included in an object. This makes get_hash unusable as it can not find OpenNebula.pool_page_size.

Associated revisions

Revision 21b3ac28
Added by Javi Fontan about 7 years ago

bug #2868: fix OpenNebula.pool_page size problem

Now OpenNebula.pool_page_size is a module method and the value is stored
in the class variable @@pool_page_size

Revision 0620f1f2
Added by Javi Fontan about 7 years ago

bug #2868: fix OpenNebula.pool_page size problem

Now OpenNebula.pool_page_size is a module method and the value is stored
in the class variable @@pool_page_size

(cherry picked from commit 21b3ac286934864d7c27bcc9fe8c4815b07e1bdb)

History

#1 Updated by Javi Fontan about 7 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

#2 Updated by Javi Fontan about 7 years ago

  • Target version changed from Release 4.6 to Release 4.6.1

Also available in: Atom PDF