forked from toolshed/abra
		
	fix: handle missing versions
This commit is contained in:
		@ -84,6 +84,10 @@ recipes.
 | 
			
		||||
			logrus.Fatal(err)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if len(versions) == 0 && !internal.Chaos {
 | 
			
		||||
			logrus.Fatalf("no published releases for %s in the recipe catalogue?", app.Type)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		var availableDowngrades []string
 | 
			
		||||
		if deployedVersion == "unknown" {
 | 
			
		||||
			availableDowngrades = versions
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user