refactor: drop that back to TODO for now
This commit is contained in:
parent
828417c92b
commit
3d7961282a
@ -155,25 +155,7 @@ var recipeUpgradeCommand = &cli.Command{
|
|||||||
if recipe == "" {
|
if recipe == "" {
|
||||||
internal.ShowSubcommandHelpAndError(c, errors.New("no recipe provided"))
|
internal.ShowSubcommandHelpAndError(c, errors.New("no recipe provided"))
|
||||||
}
|
}
|
||||||
|
// TODO: part 1 of https://git.coopcloud.tech/coop-cloud/go-abra/issues/39#issuecomment-8066
|
||||||
type existingTags struct {
|
|
||||||
AppCatalogueTags map[string]string
|
|
||||||
RegistryTags map[string]string
|
|
||||||
RecipeSkipTags map[string]string
|
|
||||||
}
|
|
||||||
|
|
||||||
compose, err := config.GetAppComposeFiles(recipe)
|
|
||||||
if err != nil {
|
|
||||||
logrus.Fatal(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
for _, service := range compose.Services {
|
|
||||||
_, err := catalogue.VersionsOfService(recipe, service.Name)
|
|
||||||
if err != nil {
|
|
||||||
logrus.Fatal(err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// TODO
|
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user