ceb1472 fifloader: Simplify generated job templates a bit

Authored and Committed by adamwill a year ago
1 file changed. 8 lines added. 10 lines removed.
    fifloader: Simplify generated job templates a bit
    
    Again looking at the upstream template loader, we don't need to
    pass a 'machine' hash with a 'name' key (we can just pass a
    'machine_name' string), or a 'test_suite' hash with a 'name' key
    (we can just pass 'test_suite_name' string), and we don't need
    to pass a 'product' hash, we can just pass the product keys
    directly in the job template hash. In fact the upstream loader
    transforms 'machine' and 'test_suite' hash 'name' keys into the
    strings and moves 'product' hash keys up into the top level hash
    before POSTing to the API anyway.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+8 -10