lib/fog/sakuracloud/requests/compute/delete_server.rb in fog-sakuracloud-1.3.2 vs lib/fog/sakuracloud/requests/compute/delete_server.rb in fog-sakuracloud-1.3.3
- old
+ new
@@ -7,10 +7,10 @@
def delete_server( id, force = false, disks = [] )
body = { "Force" => force, 'WithDisk' => disks }
request(
:headers => {
- 'Authorization' => "Basic #{@auth_encord}"
+ 'Authorization' => "Basic #{@auth_encode}"
},
:expects => [200],
:method => 'DELETE',
:path => "#{Fog::SakuraCloud::SAKURACLOUD_API_ENDPOINT}/server/#{id}",
:body => Fog::JSON.encode(body)