mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
update the watch warning message when no services with a develop section
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
78f3361921
commit
2d971fc97d
@ -149,7 +149,7 @@ func (s *composeService) Watch(ctx context.Context, project *types.Project, serv
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !watching {
|
if !watching {
|
||||||
return fmt.Errorf("none of the selected services is configured for watch, consider setting an 'x-develop' section")
|
return fmt.Errorf("none of the selected services is configured for watch, consider setting an 'develop' section")
|
||||||
}
|
}
|
||||||
|
|
||||||
return eg.Wait()
|
return eg.Wait()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user