Skip to content

Commit

Permalink
chore: v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Valentine committed Apr 12, 2020
1 parent af01618 commit e15899d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions digitalocean/digitalocean.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func DestroyDroplet() (*utils.SelectItem, error) {

selectItemDroplets := utils.ParseDropletListResults(droplets)

selectDropletPrompt := utils.CreateCustomSelectPrompt("Select Droplet to Delete", selectItemDroplets)
selectDropletPrompt := utils.CreateCustomSelectPrompt("Select droplet to delete", selectItemDroplets)

selectedDropletIndex, _, err := selectDropletPrompt.Run()

Expand Down Expand Up @@ -170,7 +170,7 @@ func DestroyDroplet() (*utils.SelectItem, error) {
}

promptReEnterDropletName := promptui.Prompt{
Label: "Re enter Droplet name to confirm delete (WARNING DROPLET WILL BE DELETED FOREVER)",
Label: "Re enter droplet name to confirm delete (WARNING DROPLET WILL BE DELETED FOREVER)",
Validate: validateDropletNameDeletion,
}

Expand All @@ -182,6 +182,7 @@ func DestroyDroplet() (*utils.SelectItem, error) {
}

fullDropletInfo := droplets[selectedDropletIndex]

selectedDropletIP, err := fullDropletInfo.PublicIPv4()

if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
var GitCommit string

// Version returns the main version number that is being run at the moment.
const Version = "1.0"
const Version = "1.1"

// BuildDate returns the date the binary was built
var BuildDate = ""
Expand Down

0 comments on commit e15899d

Please sign in to comment.