forked from toolshed/abra
		
	fix: make test suite work again
This commit is contained in:
		@ -499,7 +499,7 @@ func SetRecipeLabel(compose *composetypes.Config, stackName string, recipe strin
 | 
			
		||||
func SetChaosLabel(compose *composetypes.Config, stackName string, chaos bool) {
 | 
			
		||||
	for _, service := range compose.Services {
 | 
			
		||||
		if service.Name == "app" {
 | 
			
		||||
			logrus.Debugf("set label 'coop-cloud.%s.chaos' to %s for %s", stackName, chaos, stackName)
 | 
			
		||||
			logrus.Debugf("set label 'coop-cloud.%s.chaos' to %v for %s", stackName, chaos, stackName)
 | 
			
		||||
			labelKey := fmt.Sprintf("coop-cloud.%s.chaos", stackName)
 | 
			
		||||
			service.Deploy.Labels[labelKey] = strconv.FormatBool(chaos)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
@ -54,7 +54,7 @@ func TestGetAllFoldersInDirectory(t *testing.T) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func TestGetAllFilesInDirectory(t *testing.T) {
 | 
			
		||||
	files, err := getAllFilesInDirectory(testFolder)
 | 
			
		||||
	files, err := GetAllFilesInDirectory(testFolder)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		t.Fatal(err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user