Skip to content

Commit

Permalink
some update.
Browse files Browse the repository at this point in the history
  • Loading branch information
youyo committed May 31, 2016
1 parent 4a71d40 commit 0957aa3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 0.3.0 (2016-05-22)
## 0.3.1 (2016-05-31)

Re-Create all.
Update.

### Added

Expand All @@ -16,4 +16,4 @@ Re-Create all.

### Fixed

- Nothing
- https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature
4 changes: 3 additions & 1 deletion command/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion command/ebs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main

const Name string = "recorder"
const Version string = "0.3.0"
const Version string = "0.3.1"

0 comments on commit 0957aa3

Please sign in to comment.