diff --git a/salt/grains/core.py b/salt/grains/core.py index d7091df2eb..d09c2fe0cf 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -145,8 +145,8 @@ def _linux_gpu_data(): elif __opts__.get('enable_gpu_grains', None) is False: log.info( - 'Skipping lspci call because enable_gpu_grains was set to False in the config. ' - 'GPU grains will not be available.' + 'Skipping lspci call because enable_gpu_grains was set to False ' + 'in the config. GPU grains will not be available.' ) return {}