fog / fog-vsphere

Fog for vSphere
MIT License
36 stars 63 forks source link

Grab DC if within a folder #214

Closed chris1984 closed 5 years ago

chris1984 commented 5 years ago

@ezr-ondrej updated :)

ezr-ondrej commented 5 years ago

As discussed offline, this doesn't work in all cases, we should make sure we are covering all the use cases first.

chris1984 commented 5 years ago

@ezr-ondrej can we merge this for now then work on the real issue later to close the bugzilla?

Tested it with the original code submit and it works fine:

Foreman host created:

https://nimb.ws/txXu1s

Host created in vCenter:

https://nimb.ws/eOmdT7

ezr-ondrej commented 5 years ago

Ok, as this is fixing the issue in the folder and it doesn't break anything... The issues i had having are unrelated it seems and they appear even without the patch.