mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2488 from nosborn/vcloud_director_post_attach_disk
[vcloud_director] s/@end_point/end_point/
This commit is contained in:
commit
2a4ac7f9c6
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ module Fog
|
|||
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
||||
}
|
||||
DiskAttachOrDetachParams(attrs) {
|
||||
Disk(:href => "#{@end_point}disk/#{media_id}")
|
||||
Disk(:href => "#{end_point}disk/#{disk_id}")
|
||||
if options.key?(:BusNumber)
|
||||
BusNumber options[:BusNumber]
|
||||
end
|
||||
|
|
|
@ -20,7 +20,7 @@ module Fog
|
|||
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
||||
}
|
||||
DiskAttachOrDetachParams(attrs) {
|
||||
Disk(:href => "#{@end_point}disk/#{media_id}")
|
||||
Disk(:href => "#{end_point}disk/#{disk_id}")
|
||||
}
|
||||
end.to_xml
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ module Fog
|
|||
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
||||
}
|
||||
MediaInsertOrEjectParams(attrs) {
|
||||
Media(:href => "#{@end_point}media/#{media_id}")
|
||||
Media(:href => "#{end_point}media/#{media_id}")
|
||||
}
|
||||
end.to_xml
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ module Fog
|
|||
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
||||
}
|
||||
MediaInsertOrEjectParams(attrs) {
|
||||
Media(:href => "#{@end_point}media/#{media_id}")
|
||||
Media(:href => "#{end_point}media/#{media_id}")
|
||||
}
|
||||
end.to_xml
|
||||
|
||||
|
|
Loading…
Reference in a new issue