From b511a77058db73af34f7848e027f8468d0232272 Mon Sep 17 00:00:00 2001 From: Yar Kravtsov Date: Wed, 20 Nov 2024 17:48:52 +0200 Subject: [PATCH] refactor: Rename createDependencies to deployDependencies for clarity --- pkg/deployment/deployment.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/deployment/deployment.go b/pkg/deployment/deployment.go index 2623ae9..09c720c 100644 --- a/pkg/deployment/deployment.go +++ b/pkg/deployment/deployment.go @@ -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) }, }, { @@ -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))