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

cannot require oneview-sdk because the code is using non-require'd code #2 #266

Closed
vranystepan opened this issue Sep 12, 2017 · 0 comments
Closed

Comments

@vranystepan
Copy link
Contributor

Scenario/Intent

Similar to #263, there's missing import in OneviewSDK::API500::Synergy::StorageSystem file https://github.com/HewlettPackard/oneview-sdk-ruby/blob/master/lib/oneview-sdk/resource/api500/synergy/storage_system.rb#L12

Environment Details

  • OneView SDK Version: 5.0.2
  • Ruby Version: 2.3.0
  • Platform: Ubuntu 16.04

Steps to Reproduce

require 'oneview-sdk'

Actual Result

/var/lib/gems/2.3.0/gems/oneview-sdk-5.0.2/lib/oneview-sdk/resource/api500/synergy/storage_system.rb:18:
in `<module:Synergy>': uninitialized constant OneviewSDK::API500::C7000::StorageSystem (NameError)

Fix

require_relative '../../api300/synergy/storage_system'

should be

require_relative '../../api500/c7000/storage_system'
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

1 participant