diff --git a/CHANGELOG.md b/CHANGELOG.md index ebab428..ab10a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## 0.3.0 (2016-05-22) +## 0.3.1 (2016-05-31) -Re-Create all. +Update. ### Added @@ -16,4 +16,4 @@ Re-Create all. ### Fixed -- Nothing +- https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature diff --git a/command/ami.go b/command/ami.go index 13c8104..62b70fe 100644 --- a/command/ami.go +++ b/command/ami.go @@ -31,7 +31,7 @@ type image struct { type images []image -func CmdAmi(c *cli.Context) { +func CmdAmi(c *cli.Context) error { // logging log.SetOutput(os.Stderr) @@ -99,6 +99,8 @@ func CmdAmi(c *cli.Context) { imageIds := sortImages(images) // delete ami svc.deleteImages(o.lifecycle, imageIds) + + return nil } func (p images) Len() int { diff --git a/command/ebs.go b/command/ebs.go index 6cf2802..f3155db 100644 --- a/command/ebs.go +++ b/command/ebs.go @@ -28,7 +28,7 @@ type Snapshot struct { type Snapshots []Snapshot -func CmdEbs(c *cli.Context) { +func CmdEbs(c *cli.Context) error { // logging log.SetOutput(os.Stderr) @@ -115,6 +115,7 @@ func CmdEbs(c *cli.Context) { // If the number of snapshot is life-cycle or more, Delete snapshot. svc.deleteSnapshots(o.lifeCycle, snapshotIds) } + return nil } func (p Snapshots) Len() int { diff --git a/version.go b/version.go index 3444544..32f90e6 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package main const Name string = "recorder" -const Version string = "0.3.0" +const Version string = "0.3.1"