Skip to content

Commit

Permalink
digital ocean img id
Browse files Browse the repository at this point in the history
  • Loading branch information
nivasan1 committed Mar 15, 2024
1 parent 05e2947 commit 8056fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/provider/digitalocean/droplet.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (p *Provider) CreateDroplet(ctx context.Context, definition provider.TaskDe
Region: doConfig.Region,
Size: doConfig.Size,
Image: godo.DropletCreateImage{
ID: 148794370,
ID: doConfig.ImageID,
},
SSHKeys: []godo.DropletCreateSSHKey{
{
Expand Down
1 change: 1 addition & 0 deletions core/provider/digitalocean/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ package digitalocean
type DigitalOceanTaskConfig struct {
Region string
Size string
ImageID int
}

0 comments on commit 8056fc5

Please sign in to comment.