diff options
author | Adam Edwards <adamed@opscode.com> | 2014-08-30 22:43:59 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-09-19 12:48:00 -0700 |
commit | c0e7ce17814fd2583ea5e46e5adcbae5214115bc (patch) | |
tree | a5f1a0871bdb4fc38cf328345ded5df4931bfb01 /lib/chef/util/dsc | |
parent | 297a5d7b54e8e07b97458e1c8f2dcc2fcda62203 (diff) | |
download | chef-c0e7ce17814fd2583ea5e46e5adcbae5214115bc.tar.gz |
Fixup use of status.exitcode to status.status.exitstatus
Diffstat (limited to 'lib/chef/util/dsc')
-rw-r--r-- | lib/chef/util/dsc/local_configuration_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/dsc/local_configuration_manager.rb b/lib/chef/util/dsc/local_configuration_manager.rb index a12ca98d7c..b1b0752be1 100644 --- a/lib/chef/util/dsc/local_configuration_manager.rb +++ b/lib/chef/util/dsc/local_configuration_manager.rb @@ -33,7 +33,7 @@ class Chef::Util::DSC status = run_configuration_cmdlet(configuration_document) command_output = status.return_value unless status.succeeded? - if status.exitcode == LCM_MODULE_NOT_INSTALLED_ERROR_CODE + if status.status.exitstatus == LCM_MODULE_NOT_INSTALLED_ERROR_CODE Chef::Log::warn('Unable to test configuration because a required DSC PowerShell module may not be installed.') command_output = '' end |