Browse Source
			
			
			Change storage module key from "system" to "module"
			
			
				master
			
			
		 
		
			
				
					
						 Matthew Holt
					
					6 years ago
						Matthew Holt
					
					6 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 2A349DD577D586A5
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					caddy.go
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -84,7 +84,7 @@ func Run(newCfg *Config) error { | 
			
		
	
		
			
				
					|  |  |  | 		// set up storage and make it CertMagic's default storage, too
 | 
			
		
	
		
			
				
					|  |  |  | 		err = func() error { | 
			
		
	
		
			
				
					|  |  |  | 			if newCfg.StorageRaw != nil { | 
			
		
	
		
			
				
					|  |  |  | 				val, err := ctx.LoadModuleInline("system", "caddy.storage", newCfg.StorageRaw) | 
			
		
	
		
			
				
					|  |  |  | 				val, err := ctx.LoadModuleInline("module", "caddy.storage", newCfg.StorageRaw) | 
			
		
	
		
			
				
					|  |  |  | 				if err != nil { | 
			
		
	
		
			
				
					|  |  |  | 					return fmt.Errorf("loading storage module: %v", err) | 
			
		
	
		
			
				
					|  |  |  | 				} | 
			
		
	
	
		
			
				
					|  |  | 
 |