Skip to content

Commit 33a7825

Browse files
hezhizhenglours
authored andcommitted
fix: typos
Signed-off-by: Zhizhen He <[email protected]>
1 parent 65803ea commit 33a7825

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ require (
205205
)
206206

207207
exclude (
208-
// FIXME(thaJeztah): remoove this once kubernetes updated their dependencies to no longer need this.
208+
// FIXME(thaJeztah): remove this once kubernetes updated their dependencies to no longer need this.
209209
//
210210
// For additional details, see this PR and links mentioned in that PR:
211211
// https://github.com/kubernetes-sigs/kustomize/pull/5830#issuecomment-2569960859

pkg/compose/watch.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)