mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	small fix for down containers
This commit is contained in:
		@@ -575,7 +575,7 @@ class Monitor extends BeanModel {
 | 
				
			|||||||
                    log.debug("monitor", `[${this.name}] Axios Request`);
 | 
					                    log.debug("monitor", `[${this.name}] Axios Request`);
 | 
				
			||||||
                    let res = await axios.request(options);
 | 
					                    let res = await axios.request(options);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    if (res.data.State.Health && res.data.State.Health.Status !== "healthy") {
 | 
					                    if (res.data.State.Health && res.data.State.Health.Status !== "healthy" && res.data.State.Running) {
 | 
				
			||||||
                        bean.status = PENDING;
 | 
					                        bean.status = PENDING;
 | 
				
			||||||
                        bean.msg = res.data.State.Health.Status;
 | 
					                        bean.msg = res.data.State.Health.Status;
 | 
				
			||||||
                    } else if (res.data.State.Running) {
 | 
					                    } else if (res.data.State.Running) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user