Merge pull request #9681 from rabbitmq/pretty-print-feature_flags-file-content
rabbit_feature_flags: Write one feature name per line in `feature_flags`
This commit is contained in:
commit
2f709e88e2
|
|
@ -1129,7 +1129,7 @@ do_write_enabled_feature_flags_list(EnabledFeatureNames) ->
|
|||
EnabledFeatureNames1 = lists:sort(EnabledFeatureNames),
|
||||
|
||||
File = enabled_feature_flags_list_file(),
|
||||
Content = io_lib:format("~tp.~n", [EnabledFeatureNames1]),
|
||||
Content = io_lib:format("~1tp.~n", [EnabledFeatureNames1]),
|
||||
%% TODO: If we fail to write the the file, we should spawn a process
|
||||
%% to retry the operation.
|
||||
case file:write_file(File, Content) of
|
||||
|
|
|
|||
Loading…
Reference in New Issue