mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	[aws|cdn] splat expand paths for post_invalidation
This commit is contained in:
		
							parent
							
								
									2a77066d4d
								
							
						
					
					
						commit
						3d6104e383
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,7 @@ module Fog
 | 
			
		|||
        def post_invalidation(distribution_id, paths, caller_reference = Time.now.to_i.to_s)
 | 
			
		||||
          body = '<?xml version="1.0" encoding="UTF-8"?>'
 | 
			
		||||
          body << "<InvalidationBatch>"
 | 
			
		||||
          for path in paths
 | 
			
		||||
          for path in [*paths]
 | 
			
		||||
            body << "<Path>" << path << "</Path>"
 | 
			
		||||
          end
 | 
			
		||||
          body << "<CallerReference>" << caller_reference << "</CallerReference>"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue