Skip to content

Commit

Permalink
Merge pull request #331 from olleolleolle/fix/yard-warnings
Browse files Browse the repository at this point in the history
API docs: Fix YARD warnings
  • Loading branch information
tas50 authored Dec 30, 2019
2 parents f3cae40 + 7495c90 commit f6665e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chef-vault/item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def client_exists?(clientname)
end

# adds or deletes an API client from the vault item keys
# @param client [Chef::ApiClient] the API client to operate on
# @param api_client [Chef::ApiClient] the API client to operate on
# @param action [Symbol] :add or :delete
# @return [void]
def handle_client_action(api_client, action)
Expand All @@ -460,7 +460,7 @@ def add_client(client)
end

# removes a client to the vault item keys
# @param client_or_node [String] the name of the API client or node to remove
# @param name [String] the name of the API client or node to remove
# @return [void]
def delete_client_or_node(name)
client = load_actor(name, "clients")
Expand Down

0 comments on commit f6665e9

Please sign in to comment.