[DigitalOcean]: make droplet image constant when building droplet in for fitask

This commit is contained in:
zak905 2022-05-10 11:40:18 +02:00
parent e638cc853f
commit da581fceab
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func (d *Droplet) Find(c *fi.Context) (*Droplet, error) {
Count: count,
Region: fi.String(foundDroplet.Region.Slug),
Size: fi.String(foundDroplet.Size.Slug),
Image: fi.String(foundDroplet.Image.Slug),
Image: d.Image, //Image should not change so we keep it as-is
Tags: foundDroplet.Tags,
SSHKey: d.SSHKey, // TODO: get from droplet or ignore change
UserData: d.UserData, // TODO: get from droplet or ignore change