fixes this error, since device_port_power.power can be null:
Argument "" isn't numeric in numeric gt (>) at /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/views/ajax/device/ports.tt line 251.
currently only seen on cisco sb switches, which do have all other columns filled in
ip | port | module | admin | status | class | power
---------------+------+--------+-------+------------+--------+-------
10.40.254.150 | fa2 | 1 | true | otherFault | class3 |
10.40.254.150 | fa16 | 1 | true | searching | class3 |
10.40.254.150 | fa3 | 1 | true | searching | class3 |
...
point netdisco docker users to the docker issue tracker as a first step, so we can spent less time on triaging issues.
netdisco docker has some quirks not present in regular netdisco, if it turns out to be non container related we can always move the issue back to this tracker.
btw, seems we need to change our issue templates, but only project admins can do so:
"You are using an old version of issue templates. Please update to the new issue template workflow. Learn more."
-> https://help.github.com/articles/about-issue-and-pull-request-templates
* none is not a valid value for min-width, so set it to zero
* these 2 "checked" if statements need a space in front of them,
else they will attach to the previous element
id="nd_showspeed"checked="checked"
* multiple tag has no options according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
also, don't close select before we've gotten to the option tags
* multiple tag has no options according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
also, don't close select before we've gotten to the option tags
* just to be sure put a space in front of these optional tags as well,
* $a is technically allowed but is considered not best practice