Skip to content

Commit

Permalink
refactor: Rename createDependencies to deployDependencies for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Nov 20, 2024
1 parent 09aa6ae commit b511a77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (d *Deployment) Deploy(ctx context.Context, project string, cfg *config.Con
{
name: "dependencies",
action: func() error {
return d.createDependencies(ctx, project, cfg.Dependencies, events)
return d.deployDependencies(ctx, project, cfg.Dependencies, events)
},
},
{
Expand Down Expand Up @@ -123,8 +123,8 @@ func (d *Deployment) createVolumes(ctx context.Context, project string, volumes
return nil
}

// createDependencies deploys all dependencies concurrently.
func (d *Deployment) createDependencies(ctx context.Context, project string, dependencies []config.Dependency, events chan<- console.Event) error {
// deployDependencies deploys all dependencies concurrently.
func (d *Deployment) deployDependencies(ctx context.Context, project string, dependencies []config.Dependency, events chan<- console.Event) error {
var wg sync.WaitGroup
errChan := make(chan error, len(dependencies))

Expand Down

0 comments on commit b511a77

Please sign in to comment.