mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Resolve deprecated INI conversion (#9525)
Per 8fe474341f/deprecated.go (L24)
			
			
This commit is contained in:
		@@ -104,7 +104,7 @@ func runEnvironmentToIni(c *cli.Context) error {
 | 
				
			|||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		log.Warn("Custom config '%s' not found, ignore this if you're running first time", setting.CustomConf)
 | 
							log.Warn("Custom config '%s' not found, ignore this if you're running first time", setting.CustomConf)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	cfg.NameMapper = ini.AllCapsUnderscore
 | 
						cfg.NameMapper = ini.SnackCase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	prefix := c.String("prefix") + "__"
 | 
						prefix := c.String("prefix") + "__"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user