mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Update bindata.go [CI SKIP]
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -208,6 +208,7 @@ var (
 | 
				
			|||||||
		} `ini:"git.timeout"`
 | 
							} `ini:"git.timeout"`
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Mirror settings
 | 
				
			||||||
	Mirror struct {
 | 
						Mirror struct {
 | 
				
			||||||
		DefaultInterval int
 | 
							DefaultInterval int
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@@ -516,10 +517,10 @@ func NewContext() {
 | 
				
			|||||||
		log.Fatal(4, "Fail to map Cron settings: %v", err)
 | 
							log.Fatal(4, "Fail to map Cron settings: %v", err)
 | 
				
			||||||
	} else if err = Cfg.Section("git").MapTo(&Git); err != nil {
 | 
						} else if err = Cfg.Section("git").MapTo(&Git); err != nil {
 | 
				
			||||||
		log.Fatal(4, "Fail to map Git settings: %v", err)
 | 
							log.Fatal(4, "Fail to map Git settings: %v", err)
 | 
				
			||||||
	} else if err = Cfg.Section("api").MapTo(&API); err != nil {
 | 
					 | 
				
			||||||
		log.Fatal(4, "Fail to map API settings: %v", err)
 | 
					 | 
				
			||||||
	} else if err = Cfg.Section("mirror").MapTo(&Mirror); err != nil {
 | 
						} else if err = Cfg.Section("mirror").MapTo(&Mirror); err != nil {
 | 
				
			||||||
		log.Fatal(4, "Fail to map API settings: %v", err)
 | 
							log.Fatal(4, "Fail to map API settings: %v", err)
 | 
				
			||||||
 | 
						} else if err = Cfg.Section("api").MapTo(&API); err != nil {
 | 
				
			||||||
 | 
							log.Fatal(4, "Fail to map API settings: %v", err)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if Mirror.DefaultInterval <= 0 {
 | 
						if Mirror.DefaultInterval <= 0 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user