+
Skip to content

Conversation

dralthiace
Copy link

The Folder object already has a method called 'findByUuid' however, in VMWare vCenter the Uuid is not guaranteed to be unique. For many ruby apps this causes a problem.

Added in this commit is a method for 'findByInstanceUuid' which is guaranteed to be unique within a vCenter. This is a small change, tested working and used in production, but not very DRY. It may be better to pass an argument to the original 'findByUuid' method to change the behavior and find InstanceUuid instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载