-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hostname contents and list lengths #1036
base: develop
Are you sure you want to change the base?
Conversation
`and` cannot be used to check for two substrings like this. Correctly check for both words in the socket hostname.
Hello @snoyes, Thank you for updating !
Comment last updated at 2023-10-02 14:55:07 UTC |
Later code assumes that the list has at least two elements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your submission!
In the database interface,
and
cannot be used to check for two substrings like this code attempts. This code effectively only checks for the word 'project' in the hostname. Correctly check for both words in the socket hostname.In the preview image, the group and integ are allowed to be integers or lists of length 2, but there was no check if the list was of length 0 or 1.