add scan mode (#731)

This commit is contained in:
sadayuki-matsuno
2018-11-05 15:35:50 +09:00
committed by Kota Kanbe
parent 9865eab2c0
commit 6ed9cf3fb4
2 changed files with 2 additions and 0 deletions

View File

@@ -391,6 +391,7 @@ func (l *base) convertToModel() models.ScanResult {
JSONVersion: models.JSONVersion,
ServerName: l.ServerInfo.ServerName,
ScannedAt: time.Now(),
ScanMode: l.ServerInfo.Mode.String(),
Family: l.Distro.Family,
Release: l.Distro.Release,
Container: container,