Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Improve log message. #380

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Mar 31, 2021

What:
Improve log message.

Why:
Actually, no host is removed from the excluded_hosts list. Just the
amount host is ajusted for the scan progress calculation
The excluded_hosts list can have also vhost, which couldn't be part
of the target.

How:

Checklist:

@jjnicola jjnicola added backport-to-stable This pull request will be backported to the stable branch backport-to-main This pull request will be backported to the master branch labels Mar 31, 2021
ospd/scan.py Outdated
invalid_exc_hosts,
"Please check the excluded host list. It contains hosts which "
"do not belong to the target. This warning can be ignored if "
"this was done on purpose."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"this was done on purpose."
"this was done on purpose (e.g. to exclude specific hostname)."

Not absolutely sure but could help to understand the message.

Actually, no host is removed from the excluded_hosts list. Just the
amount host is ajusted for the scan progress calculation
The excluded_hosts list can have also vhost, which couldn't be part
of the target.
@ArnoStiefvater ArnoStiefvater merged commit 27cf96c into greenbone:ospd-20.08 Apr 1, 2021
ArnoStiefvater added a commit that referenced this pull request Apr 1, 2021
ArnoStiefvater added a commit that referenced this pull request Apr 1, 2021
@jjnicola jjnicola deleted the excluded-vhost-msg branch May 26, 2021 10:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-main This pull request will be backported to the master branch backport-to-stable This pull request will be backported to the stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants