mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	joyent resize smartmachine incorrect class type
This commit is contained in:
		
							parent
							
								
									fc3df16a4d
								
							
						
					
					
						commit
						428a8c9a4a
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,7 +53,7 @@ module Fog
 | 
			
		|||
 | 
			
		||||
        def resize(flavor)
 | 
			
		||||
          requires :id
 | 
			
		||||
          service.resize_machine(id, flavor)
 | 
			
		||||
          service.resize_machine(id, flavor.name)
 | 
			
		||||
          true
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
module Fog
 | 
			
		||||
  module Compute
 | 
			
		||||
    class Joyent
 | 
			
		||||
     class Real
 | 
			
		||||
      def resize_machine(id, package)
 | 
			
		||||
        request(
 | 
			
		||||
          :method => "POST",
 | 
			
		||||
| 
						 | 
				
			
			@ -8,6 +9,7 @@ module Fog
 | 
			
		|||
          :query => {"action" => "resize", "package" => package}
 | 
			
		||||
        )
 | 
			
		||||
      end
 | 
			
		||||
     end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue