fix(scan): scan Amazon Linux with offline mode (#840)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user