mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 08:20:17 +01:00 
			
		
		
		
	Format docker status table
This commit is contained in:
		@@ -29,7 +29,7 @@ function hc_send(){
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    if [ -z "$UPTIME" ]; then
 | 
			
		||||
        UPTIME=$(docker ps --format '{{.Names}} {{.RunningFor}}' --filter name=bridgehead || echo "Unable to get docker statistics")
 | 
			
		||||
        UPTIME=$(docker ps --format 'table {{.Names}} \t{{.RunningFor}} \t {{.Status}} \t {{.Image}}' --filter name=bridgehead || echo "Unable to get docker statistics")
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    if [ -n "$2" ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user