Fix logging dry run line.
This commit is contained in:
		
					parent
					
						
							
								cb38354df3
							
						
					
				
			
			
				commit
				
					
						28d3466e9d
					
				
			
		
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -666,8 +666,9 @@ class Config(object):
 | 
				
			||||||
                               % (cdist_object.name))
 | 
					                               % (cdist_object.name))
 | 
				
			||||||
                self.code.transfer_code_remote(cdist_object)
 | 
					                self.code.transfer_code_remote(cdist_object)
 | 
				
			||||||
                self.code.run_code_remote(cdist_object)
 | 
					                self.code.run_code_remote(cdist_object)
 | 
				
			||||||
        else:
 | 
					        elif cdist_object.code_local or cdist_object.code_remote:
 | 
				
			||||||
            self.log.info("Skipping code execution due to DRY RUN")
 | 
					            self.log.info("Skipping code execution for %s due to DRY RUN",
 | 
				
			||||||
 | 
					                          cdist_object.name)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Mark this object as done
 | 
					        # Mark this object as done
 | 
				
			||||||
        self.log.trace("Finishing run of " + cdist_object.name)
 | 
					        self.log.trace("Finishing run of " + cdist_object.name)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue