mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	Update default scheme from http to https in the v1 auth.
This commit is contained in:
		
							parent
							
								
									de0c739e68
								
							
						
					
					
						commit
						852b3802b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -89,7 +89,7 @@ module Fog
 | 
			
		|||
      # append /tokens if missing from auth uri
 | 
			
		||||
      @hp_auth_uri = hp_auth_uri.include?('tokens')? hp_auth_uri : hp_auth_uri + "tokens"
 | 
			
		||||
      endpoint = URI.parse(@hp_auth_uri)
 | 
			
		||||
      @scheme = endpoint.scheme || "http"
 | 
			
		||||
      @scheme = endpoint.scheme || "https"
 | 
			
		||||
      @host = endpoint.host || "region-a.geo-1.identity.hpcloudsvc.com"
 | 
			
		||||
      @port = endpoint.port.to_s || "35357"
 | 
			
		||||
      if (endpoint.path)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue