#331: Made admins able to delete apps without a owner
This commit is contained in:
@@ -5424,10 +5424,10 @@ func runInit(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Getting apps to see if we should initialize a test
|
// Getting apps to see if we should initialize a test
|
||||||
log.Printf("Getting remote workflow apps")
|
log.Printf("[INFO] Getting and validating workflowapps")
|
||||||
workflowapps, err := shuffle.GetAllWorkflowApps(ctx, 500)
|
workflowapps, err := shuffle.GetAllWorkflowApps(ctx, 500)
|
||||||
if err != nil {
|
if err != nil && len(workflowapps) == 0 {
|
||||||
log.Printf("Failed getting apps (runInit): %s", err)
|
log.Printf("[WARNING] Failed getting apps (runInit): %s", err)
|
||||||
} else if err == nil && len(workflowapps) > 0 {
|
} else if err == nil && len(workflowapps) > 0 {
|
||||||
var allworkflowapps []shuffle.WorkflowApp
|
var allworkflowapps []shuffle.WorkflowApp
|
||||||
q := datastore.NewQuery("workflowapp")
|
q := datastore.NewQuery("workflowapp")
|
||||||
|
|||||||
Reference in New Issue
Block a user