feat: replace NVD-column with packages-column at output of report (#1414)

* replace NVD-col with packages-col

* fix typo

* set table row line
This commit is contained in:
Masato Yagi
2022-03-17 17:14:41 +09:00
committed by GitHub
parent ec31c54caf
commit 1c77bc1ba3
2 changed files with 12 additions and 9 deletions

View File

@@ -456,7 +456,7 @@ func validateSSHConfig(c *config.ServerInfo) error {
sshKeyScanArgs = append(sshKeyScanArgs, fmt.Sprintf("%s >> %s", hostname, knownHostsPaths[0]))
sshConnCmd := fmt.Sprintf("ssh %s", strings.Join(sshConnArgs, " "))
sshKeyScancmd := fmt.Sprintf("ssh-keyscan %s", strings.Join(sshKeyScanArgs, " "))
return xerrors.Errorf("Failed to find the host in known_hosts. Plaese exec `$ %s` or `$ %s`", sshConnCmd, sshKeyScancmd)
return xerrors.Errorf("Failed to find the host in known_hosts. Please exec `$ %s` or `$ %s`", sshConnCmd, sshKeyScancmd)
}
func (s Scanner) detectContainerOSes(hosts []osTypeInterface) (actives, inactives []osTypeInterface) {