Skip to content

Commit

Permalink
chore: remove provider reference from task struct
Browse files Browse the repository at this point in the history
  • Loading branch information
nadim-az committed Jan 17, 2025
1 parent e34e2a2 commit d5e97e4
Show file tree
Hide file tree
Showing 14 changed files with 1,077 additions and 681 deletions.
94 changes: 0 additions & 94 deletions core/provider/digitalocean/docker.go

This file was deleted.

2 changes: 1 addition & 1 deletion core/provider/digitalocean/droplet.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (p *Provider) CreateDroplet(ctx context.Context, definition provider.TaskDe
}

if p.dockerClients[ip] == nil {
dockerClient, err := NewDockerClient(fmt.Sprintf("tcp://%s:%s", ip, sshPort))
dockerClient, err := provider.NewDockerClient(fmt.Sprintf("tcp://%s:%s", ip, sshPort))
if err != nil {
p.logger.Error("failed to create docker client", zap.Error(err))
return false, err
Expand Down
Loading

0 comments on commit d5e97e4

Please sign in to comment.