You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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')
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: