Skip to content

Commit e904845

Browse files
committed
remove mandatory check for region and instance
1 parent 7d42a63 commit e904845

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

spotprice.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/olekukonko/tablewriter"
2323
)
2424

25-
const version = "0.1.0"
25+
const version = "0.1.1"
2626

2727
type spotPriceItem struct {
2828
Region string
@@ -108,11 +108,6 @@ func main() {
108108
os.Exit(1)
109109
}
110110

111-
if 0 == len(*argsRegion) && 0 == len(*argsInst) {
112-
flag.Usage()
113-
os.Exit(1)
114-
}
115-
116111
timeStart := time.Now()
117112
var allSpotsAllRegions []spotPriceItem
118113

0 commit comments

Comments
 (0)