From 6610ebd39d19c3b8776d69a56a39c3b496b8b29f Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 12 Jan 2016 09:56:40 -0800 Subject: really fix cops --- lib/chef/win32/net.rb | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'lib/chef/win32/net.rb') diff --git a/lib/chef/win32/net.rb b/lib/chef/win32/net.rb index 59f29c4d1b..c0cf564621 100644 --- a/lib/chef/win32/net.rb +++ b/lib/chef/win32/net.rb @@ -71,33 +71,33 @@ class Chef def self.net_api_error!(code) msg = case code - when NERR_InvalidComputer - "The user does not have access to the requested information." - when NERR_NotPrimary - "The operation is allowed only on the primary domain controller of the domain." - when NERR_SpeGroupOp - "This operation is not allowed on this special group." - when NERR_LastAdmin - "This operation is not allowed on the last administrative account." - when NERR_BadUsername - "The user name or group name parameter is invalid." - when NERR_BadPassword - "The password parameter is invalid." - when NERR_UserNotFound - raise Chef::Exceptions::UserIDNotFound, code - when NERR_PasswordTooShort - <