Просмотр исходного кода

chore: reformat emqx_bridge_api

Zhongwen Deng 3 лет назад
Родитель
Сommit
03d2a1ebb6
1 измененных файлов с 9 добавлено и 5 удалено
  1. 9 5
      apps/emqx_bridge/src/emqx_bridge_api.erl

+ 9 - 5
apps/emqx_bridge/src/emqx_bridge_api.erl

@@ -622,11 +622,15 @@ aggregate_metrics(AllMetrics) ->
 format_resp(Data) ->
     format_resp(Data, node()).
 
-format_resp(#{
-    type := Type,
-    name := BridgeName,
-    raw_config := RawConf,
-    resource_data := #{status := Status, metrics := Metrics}}, Node) ->
+format_resp(
+    #{
+        type := Type,
+        name := BridgeName,
+        raw_config := RawConf,
+        resource_data := #{status := Status, metrics := Metrics}
+    },
+    Node
+) ->
     RawConfFull = fill_defaults(Type, RawConf),
     RawConfFull#{
         type => Type,