From 3a4442b96ba2005a9616e0f3137f651580a06ee7 Mon Sep 17 00:00:00 2001 From: Adam Leff Date: Fri, 28 Oct 2016 15:43:34 -0700 Subject: Add deprecations to Data Collector competion message By adding deprecation warnings to Data Collector, receivers of Data Collector messages can easily identify nodes that would need attention to their versions/cookbooks before a major version Chef upgrade would be successful. Signed-off-by: Adam Leff --- spec/unit/data_collector/messages_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec') diff --git a/spec/unit/data_collector/messages_spec.rb b/spec/unit/data_collector/messages_spec.rb index 394f18dce0..5c6ec8736c 100644 --- a/spec/unit/data_collector/messages_spec.rb +++ b/spec/unit/data_collector/messages_spec.rb @@ -113,6 +113,7 @@ describe Chef::DataCollector::Messages do status total_resource_count updated_resource_count + deprecations } end let(:optional_fields) { %w{error} } @@ -164,6 +165,7 @@ describe Chef::DataCollector::Messages do status total_resource_count updated_resource_count + deprecations } end let(:optional_fields) { [] } -- cgit v1.2.1