Skip to content
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

ansible-test - vcenter provider: avoid a TypeError exception #59018

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@goneri
Copy link
Contributor

commented Jul 12, 2019

SUMMARY

Avoid TypeError: option values must be strings with ConfigParser.
Default values must be string, not None.

The error happens when test/integration/cloud-config-vcenter.ini does
not have the vmware_proxy_host or vmware_proxy_port keys defined.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

vmware

vcenter provider: avoid a TypeError exception
Avoid `TypeError: option values must be strings` with `ConfigParser`.
Default values must be string, not `None`.

The error happens when `test/integration/cloud-config-vcenter.ini` does
not have the `vmware_proxy_host` or `vmware_proxy_port` keys defined.
@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.