Skip to content

Conversation

jordanstephens
Copy link
Member

Description

Retry compose up after interactively handling recoverable errors: missing config or maximum number of projects.

I haven't tested this yet

Linked Issues

Closes #1360

Checklist

  • I have performed a self-review of my code
  • I have added appropriate tests
  • I have updated the Defang CLI docs and/or README to reflect my changes, if necessary

@@ -23,6 +23,10 @@ type ListConfigNamesFunc func(context.Context) ([]string, error)

type ErrMissingConfig []string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cleaner way to do this is to make this a struct:

type ErrMissingConfig struct {
	Names []string
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants