mikeb / freshmaker

Forked from freshmaker 6 years ago
Clone

5f79540 Refactor method to rebuild images

Authored and Committed by cqi 6 years ago
    Refactor method to rebuild images
    
    Code to rebuild a list of selected builds is repeated twice. And they
    are slightly different to handle the task ID returned from
    build_container.
    
    This patch moves those duplicate code to a single method and ensure to
    rebuild images in consisntent behavior.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>
    
        
file modified
+21 -10