Browse Source

Fix lint issue

Change-Id: I3195abab6e4253367d8badf1e008778168b55257
tags/14.3.0
ZhongShengping 3 months ago
parent
commit
2c9b26482a
1 changed files with 15 additions and 15 deletions
  1. 15
    15
      spec/classes/heat_logging_spec.rb

+ 15
- 15
spec/classes/heat_logging_spec.rb View File

@@ -11,25 +11,25 @@ describe 'heat::logging' do
11 11
     {
12 12
       :logging_context_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s',
13 13
       :logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s',
14
-      :logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d',
15
-      :logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
16
-      :log_config_append => '/etc/heat/logging.conf',
17
-      :publish_errors => true,
14
+      :logging_debug_format_suffix   => '%(funcName)s %(pathname)s:%(lineno)d',
15
+      :logging_exception_prefix      => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
16
+      :log_config_append             => '/etc/heat/logging.conf',
17
+      :publish_errors                => true,
18 18
       :default_log_levels => {
19 19
         'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
20 20
         'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
21 21
         'requests.packages.urllib3.connectionpool' => 'WARN' },
22
-     :fatal_deprecations => true,
23
-     :instance_format => '[instance: %(uuid)s] ',
24
-     :instance_uuid_format => '[instance: %(uuid)s] ',
25
-     :log_date_format => '%Y-%m-%d %H:%M:%S',
26
-     :use_syslog => true,
27
-     :use_json => true,
28
-     :use_journal => true,
29
-     :use_stderr => false,
30
-     :log_facility => 'LOG_FOO',
31
-     :log_dir => '/var/log',
32
-     :debug => true,
22
+     :fatal_deprecations             => true,
23
+     :instance_format                => '[instance: %(uuid)s] ',
24
+     :instance_uuid_format           => '[instance: %(uuid)s] ',
25
+     :log_date_format                => '%Y-%m-%d %H:%M:%S',
26
+     :use_syslog                     => true,
27
+     :use_json                       => true,
28
+     :use_journal                    => true,
29
+     :use_stderr                     => false,
30
+     :log_facility                   => 'LOG_FOO',
31
+     :log_dir                        => '/var/log',
32
+     :debug                          => true,
33 33
     }
34 34
   end
35 35
 

Loading…
Cancel
Save