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

Compute is not connected #3

Closed
jzuilkowski opened this issue Jun 30, 2017 · 2 comments
Closed

Compute is not connected #3

jzuilkowski opened this issue Jun 30, 2017 · 2 comments

Comments

@jzuilkowski
Copy link

Somewhere between line 19 and 22 of lib/fog/oraclecloud.rb, you need to add:

autoload :Compute, File.expand_path('../oraclecloud/compute', FILE)

Or none of the methods will be found

@Joelith
Copy link
Collaborator

Joelith commented Jul 12, 2017

Hi jzuilkowski, are you sure? That line is above on Line 9. You need to refer to compute instances through Fog::Compute[:oraclecloud] and not Fog::OracleCloud[:compute]. This aligns with the way the other providers use the core fog modules (compute, networking and storage) and use their own namespace for their different stuff (mainly PaaS)

@jzuilkowski
Copy link
Author

You are correct. I could not get it to work and was unsure why. I refreshed my copy and it worked

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

No branches or pull requests

2 participants