Skip to content

Commit

Permalink
fix ami name (#104)
Browse files Browse the repository at this point in the history
* fix ami name

* update the version
  • Loading branch information
surajnarwade authored Sep 8, 2023
1 parent f618b4e commit 2c20897
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ func nodes(cmd *cobra.Command, args []string) error {
if err != nil {
log.Fatal(err)
}
amiName = aws.ToString(dis.Images[0].Name)
ami := aws.ToString(dis.Images[0].Name)
amiName = strings.Split(ami, "/")[len(strings.Split(ami, "/"))-1]
}

if amiID == "" {
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var versionCmd = &cobra.Command{
}

func version(cmd *cobra.Command, args []string) error {
fmt.Println("v0.4.2")
fmt.Println("v0.4.3")
return nil
}

Expand Down

0 comments on commit 2c20897

Please sign in to comment.