We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
line 41 of lib/fog/azurerm/models/compute/server.rb assumes that the machine is a linux box and breaks if retrieving details of a windows host.
Current code: hash['disable_password_authentication'] = vm['properties']['osProfile']['linuxConfiguration']['disablePasswordAuthentication']
Proposed "Quick Fix" if vm['properties']['osProfile']['linuxConfiguration'] hash['disable_password_authentication'] = vm['properties']['osProfile']['linuxConfiguration']['disablePasswordAuthentication'] else hash['disable_password_authentication'] = false end
The text was updated successfully, but these errors were encountered:
Hi matthope,
We are looking into this and will resolve it soon.
thanks for pointing out.
Sorry, something went wrong.
Hi @mattohope,
We have resolved this issue in this Pull Request: #54. The gem is not updated on rubygems.org. You can install gem using GitHub. Plz verify.
sorry i realized that i never came back to you about this, i have tested and this is no longer an issue
No branches or pull requests
line 41 of lib/fog/azurerm/models/compute/server.rb assumes that the machine is a linux box and breaks if retrieving details of a windows host.
Current code:
hash['disable_password_authentication'] = vm['properties']['osProfile']['linuxConfiguration']['disablePasswordAuthentication']
Proposed "Quick Fix"
if vm['properties']['osProfile']['linuxConfiguration']
hash['disable_password_authentication'] = vm['properties']['osProfile']['linuxConfiguration']['disablePasswordAuthentication']
else
hash['disable_password_authentication'] = false
end
The text was updated successfully, but these errors were encountered: