release/release-0.2.0
parent 90531817a5
commit 3a1cb1d183
No known key found for this signature in database
GPG Key ID: 1AD3A9B87A0B612C

@ -78,7 +78,6 @@ func main() {
}
}
if _, err := parser.Parse(); err != nil {
if flagsErr, ok := err.(*flags.Error); ok && flagsErr.Type == flags.ErrHelp {
os.Exit(0)

@ -34,7 +34,7 @@ func (x *SnapshotsAgeCommand) Execute(args []string) error {
timestamp := snapshotList[0].Properties.CreateTime
storageSnapshot := gsclient.StorageSnapshot{}
for _,v := range snapshotList {
for _, v := range snapshotList {
if v.Properties.CreateTime > timestamp {
timestamp = v.Properties.CreateTime
storageSnapshot = v

Loading…
Cancel
Save