mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
fix(edge/stacks): use default namespace when none is specified in manifest (#124)
This commit is contained in:
parent
2e9e459aa3
commit
2baae7072f
4 changed files with 7 additions and 8 deletions
|
@ -111,7 +111,7 @@ func aggregateStatuses(services []service) (libstack.Status, string) {
|
|||
|
||||
}
|
||||
|
||||
func (c *ComposeDeployer) WaitForStatus(ctx context.Context, name string, status libstack.Status, _ string) <-chan libstack.WaitResult {
|
||||
func (c *ComposeDeployer) WaitForStatus(ctx context.Context, name string, status libstack.Status) <-chan libstack.WaitResult {
|
||||
waitResultCh := make(chan libstack.WaitResult)
|
||||
waitResult := libstack.WaitResult{Status: status}
|
||||
|
||||
|
@ -135,7 +135,6 @@ func (c *ComposeDeployer) WaitForStatus(ctx context.Context, name string, status
|
|||
defer cancelFunc()
|
||||
containerSummaries, err = composeService.Ps(psCtx, name, api.PsOptions{All: true})
|
||||
|
||||
|
||||
return err
|
||||
}); err != nil {
|
||||
log.Debug().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue