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

obsolete errors with ruby 2.7.1 #88

Open
moodwrench opened this issue Apr 22, 2020 · 0 comments
Open

obsolete errors with ruby 2.7.1 #88

moodwrench opened this issue Apr 22, 2020 · 0 comments

Comments

@moodwrench
Copy link

Description

Getting the following errors (code works fine, just annoying):

/var/task/vendor/bundle/ruby/2.7.0/gems/chef-api-0.10.5/lib/chef-api/resources/base.rb:515: warning: URI.escape is obsolete
/var/task/vendor/bundle/ruby/2.7.0/gems/chef-api-0.10.5/lib/chef-api/connection.rb:379: warning: URI.escape is obsolete

ChefDK Version

using AWS lambda ruby 2.7

Platform Version

AWS Lambda

Replication Case

require 'chef-api'
include ChefAPI::Resource

ChefAPI.configure do |config|
  config.endpoint = 'https://api.opscode.com/organizations/myorg'
  config.flavor = :enterprise
  config.key = 'KEY'
  config.client = 'name'
end

results = Search.query(:node, 'fqdn:xxx.myhost.com')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant