Check earlier for blank records file

This commit is contained in:
Bryan Boreham
2019-06-08 13:10:19 +00:00
parent b729c5c3bb
commit dd71191bb6

View File

@@ -142,6 +142,9 @@ func main() {
bigScan(dynamoDBConfig, scanner.segments, pagesPerDot)
return
}
if recordsFile == "" {
checkFatal(fmt.Errorf("Must set one of -delete-records-file or -big-scan."))
}
orgs := setupOrgs(orgsFile)