10e65aa Check if the SLA for exists before trying to create it

Authored and Committed by zlopez 2 years ago
    Check if the SLA for exists before trying to create it
    
    PDC returns 400 if we try to create a SLA for branch that already exists, let's
    check if the SLA for branch exists first to prevent this error.
    
    Signed-off-by: Michal Konečný <mkonecny@redhat.com>
    
        
  • Zuul
    success
    Jobs result is success
    2 years ago
file modified
+81 -0
file modified
+46 -1