Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MykolaVuy committed May 3, 2019
1 parent 9a852e6 commit aa0f905
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions VirtualMachine.php
Original file line number Diff line number Diff line change
Expand Up @@ -742,14 +742,18 @@ public function initFields( $version = null, $className = '' ) {
break;
case 6.0:
$this->fields = $this->initFields( 5.5 );
$this->fields['properties'] = array(
$this->fields['properties'] = array(
ONAPP_FIELD_MAP => '_properties',
ONAPP_FIELD_TYPE => 'string',
);
$this->fields['cpu_topology'] = array(
$this->fields['cpu_topology'] = array(
ONAPP_FIELD_MAP => '_cpu_topology',
ONAPP_FIELD_TYPE => 'string',
);
$this->fields['acceleration_allowed'] = array(
ONAPP_FIELD_MAP => '_acceleration_allowed',
ONAPP_FIELD_TYPE => 'boolean',
);
break;
}

Expand Down

0 comments on commit aa0f905

Please sign in to comment.