On 13 February 2015 at 04:42:37, Bryan Conrad ([email protected]) wrote:


mapping = [
  {
    DeviceName: '/dev/sdf',
    Ebs: {
      SnapshotId: data.id
    },
  },
  {
    DeviceName: '/dev/sdg',
    Ebs: {
      SnapshotId: journal.id
    },
  },
  {
    DeviceName: '/dev/sdh',
    Ebs: {
      SnapshotId: log.id
    }
  }
]


Maybe worth checking what the request fog generates looks like like, but i 
think your mapping should look like

mapping = [
  {
    'DeviceName' => '/dev/sdf',
    ‘Ebs.SnapshotId’ => data.id
  },
   ...
]

At least that’s what I use for some of the other apis that take block device 
mappings

Fred

-- 
You received this message because you are subscribed to the Google Groups 
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to