From fe50596e3a76f96e096c226138eefe623c6107cf Mon Sep 17 00:00:00 2001 From: Joana Hrotko Date: Fri, 22 Mar 2024 10:05:21 +0000 Subject: [PATCH] change phrasing for watch enable/disable message Signed-off-by: Joana Hrotko --- pkg/compose/watch.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/compose/watch.go b/pkg/compose/watch.go index 0d8be18ebbd..1cf61157e8c 100644 --- a/pkg/compose/watch.go +++ b/pkg/compose/watch.go @@ -178,7 +178,7 @@ func (s *composeService) Watch(ctx context.Context, project *types.Project, serv if !watching { return fmt.Errorf("none of the selected services is configured for watch, consider setting an 'develop' section") } - options.LogTo.Log(api.WatchLogger, "Watch started") + options.LogTo.Log(api.WatchLogger, "Watch enabled") return eg.Wait() } @@ -220,10 +220,10 @@ func (s *composeService) watch(ctx context.Context, project *types.Project, name for { select { case <-quit: - options.LogTo.Log(api.WatchLogger, "Watch stopped") + options.LogTo.Log(api.WatchLogger, "Watch disabled") return nil case err := <-watcher.Errors(): - options.LogTo.Err(api.WatchLogger, "Watch stopped with errors") + options.LogTo.Err(api.WatchLogger, "Watch disabled with errors") return err case event := <-watcher.Events(): hostPath := event.Path()