fix weird issue with params
This commit is contained in:
		
							parent
							
								
									f97720ac67
								
							
						
					
					
						commit
						d9a8905724
					
				| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					#!/usr/bin/env python
 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
import signal
 | 
					import signal
 | 
				
			||||||
import sys
 | 
					import sys
 | 
				
			||||||
| 
						 | 
					@ -122,7 +123,7 @@ def claim_task(uuid):
 | 
				
			||||||
    svd_update()
 | 
					    svd_update()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def loop(config):
 | 
					def loop():
 | 
				
			||||||
    global claims
 | 
					    global claims
 | 
				
			||||||
    while True:
 | 
					    while True:
 | 
				
			||||||
        # portier heartbeat
 | 
					        # portier heartbeat
 | 
				
			||||||
| 
						 | 
					@ -161,7 +162,7 @@ def main():
 | 
				
			||||||
    signal.signal(signal.SIGTERM, sigterm_handler)
 | 
					    signal.signal(signal.SIGTERM, sigterm_handler)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # check connection to supervisord
 | 
					    # check connection to supervisord
 | 
				
			||||||
    loop({})
 | 
					    loop()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main()
 | 
					main()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue