@@ -234,7 +234,7 @@ func (s *composeService) watch(ctx context.Context, project *types.Project, opti
234234 var initialSync bool
235235 success , err := trigger .Extensions .Get ("x-initialSync" , & initialSync )
236236 if err == nil && success && initialSync && isSync (trigger ) {
237- // Need to check initial files are in container that are meant to be synched from watch action
237+ // Need to check initial files are in container that are meant to be synced from watch action
238238 err := s .initialSync (ctx , project , service , trigger , syncer )
239239 if err != nil {
240240 return nil , err
@@ -395,7 +395,7 @@ func loadDevelopmentConfig(service types.ServiceConfig, project *types.Project)
395395 return nil , fmt .Errorf ("service %s doesn't have a build section, can't apply %s on watch" , types .WatchActionRebuild , service .Name )
396396 }
397397 if trigger .Action == types .WatchActionSyncExec && len (trigger .Exec .Command ) == 0 {
398- return nil , fmt .Errorf ("can't watch with action %q on service %s wihtout a command" , types .WatchActionSyncExec , service .Name )
398+ return nil , fmt .Errorf ("can't watch with action %q on service %s without a command" , types .WatchActionSyncExec , service .Name )
399399 }
400400
401401 config .Watch [i ] = trigger
@@ -813,7 +813,7 @@ func (s *composeService) imageCreatedTime(ctx context.Context, project *types.Pr
813813 if err != nil {
814814 return time .Now (), err
815815 }
816- // Need to get oldest one?
816+ // Need to get the oldest one?
817817 timeCreated , err := time .Parse (time .RFC3339Nano , img .Created )
818818 if err != nil {
819819 return time .Now (), err
0 commit comments