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

Set Machine's public_dns in AWS and private_ip in Azure #43

Merged
merged 3 commits into from
Jun 26, 2020
Merged

Set Machine's public_dns in AWS and private_ip in Azure #43

merged 3 commits into from
Jun 26, 2020

Conversation

vitorenesduarte
Copy link
Contributor

This PR sets Machine.public_dns in AWS and Machine.private_ip in Azure (information we had, that was just not being recorded).

While doing this change, the logic of "setting public_dns equal to public_ip if there's no public_dns" was moved up to connect_ssh. Now this rule lives in this single place.

(For some sanity, I've also reordered some things to make sure that the following order is maintained: public_dns, public_ip, and private_ip)

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@jonhoo jonhoo merged commit 6808f93 into jonhoo:master Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants