fix(scan): scan Amazon Linux with offline mode (#840)

This commit is contained in:
Kota Kanbe
2019-06-14 19:10:07 +09:00
committed by GitHub
parent c68a261c0b
commit a3719038b8
2 changed files with 27 additions and 17 deletions

View File

@@ -31,9 +31,6 @@ func newAmazon(c config.ServerInfo) *amazon {
}
func (o *amazon) checkScanMode() error {
if o.getServerInfo().Mode.IsOffline() {
return xerrors.New("Remove offline scan mode, Amazon needs internet connection")
}
return nil
}