summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user/windows.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2022-02-21 17:16:49 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2022-02-21 17:16:49 -0800
commit52a1e79ce7c115f6bb5e4284a5f75c3ca9ce7741 (patch)
tree1725af154fa83afabfd3f296a644c5c0fcc6f9f6 /lib/chef/provider/user/windows.rb
parent66c624b465b7629d1c1b43e5860829719ad3ebd4 (diff)
downloadchef-52a1e79ce7c115f6bb5e4284a5f75c3ca9ce7741.tar.gz
more ruby 3.0 fixes
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/user/windows.rb')
-rw-r--r--lib/chef/provider/user/windows.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/user/windows.rb b/lib/chef/provider/user/windows.rb
index 8cf4ea475b..f7ab96b0e9 100644
--- a/lib/chef/provider/user/windows.rb
+++ b/lib/chef/provider/user/windows.rb
@@ -78,11 +78,11 @@ class Chef
end
def create_user
- @net_user.add(set_options)
+ @net_user.add(**set_options)
end
def manage_user
- @net_user.update(set_options)
+ @net_user.update(**set_options)
end
def remove_user