(trigger types.Trigger)
| 340 | } |
| 341 | |
| 342 | func isSync(trigger types.Trigger) bool { |
| 343 | return trigger.Action == types.WatchActionSync || trigger.Action == types.WatchActionSyncRestart |
| 344 | } |
| 345 | |
| 346 | func (s *composeService) watchEvents(ctx context.Context, project *types.Project, options api.WatchOptions, watcher watch.Notify, syncer sync.Syncer, rules []watchRule) error { |
| 347 | ctx, cancel := context.WithCancel(ctx) |