style: ensure newline at EOF for all files
This commit is contained in:
parent
6f3cfbc102
commit
56e2a9741f
|
@ -79,4 +79,4 @@ Just as in the **subject**, use the imperative, present tense: "change" not "cha
|
|||
|
||||
The footer should contain any information about **Breaking Changes** and is also the place to reference GitHub issues that this commit **Closes**.
|
||||
|
||||
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
|
||||
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
|
||||
|
|
|
@ -41,7 +41,7 @@ t_lookup_subpid(_) ->
|
|||
emqx_broker_helper:register_sub(self(), <<"clientid">>),
|
||||
ct:sleep(10),
|
||||
?assertEqual(self(), emqx_broker_helper:lookup_subpid(<<"clientid">>)).
|
||||
|
||||
|
||||
t_register_sub(_) ->
|
||||
ok = emqx_broker_helper:register_sub(self(), <<"clientid">>),
|
||||
ct:sleep(10),
|
||||
|
@ -62,7 +62,7 @@ t_shard_seq(_) ->
|
|||
|
||||
t_shards_num(_) ->
|
||||
?assertEqual(emqx_vm:schedulers() * 32, emqx_broker_helper:shards_num()).
|
||||
|
||||
|
||||
t_get_sub_shard(_) ->
|
||||
?assertEqual(0, emqx_broker_helper:get_sub_shard(self(), <<"topic">>)).
|
||||
|
||||
|
@ -72,4 +72,4 @@ t_terminate(_) ->
|
|||
t_uncovered_func(_) ->
|
||||
gen_server:call(emqx_broker_helper, test),
|
||||
gen_server:cast(emqx_broker_helper, test),
|
||||
emqx_broker_helper ! test.
|
||||
emqx_broker_helper ! test.
|
||||
|
|
|
@ -174,4 +174,4 @@ t_filter(_) ->
|
|||
t_highest(_) ->
|
||||
empty = ?PQ:highest(?PQ:new()),
|
||||
0 = ?PQ:highest(?PQ:from_list([{0, a}, {0, b}])),
|
||||
2 = ?PQ:highest(?PQ:from_list([{0, a}, {0, b}, {1, c}, {2, d}, {2, e}])).
|
||||
2 = ?PQ:highest(?PQ:from_list([{0, a}, {0, b}, {1, c}, {2, d}, {2, e}])).
|
||||
|
|
|
@ -36,4 +36,4 @@ t_child(_) ->
|
|||
?assertMatch({error, not_found}, emqx_sup:stop_child(undef)),
|
||||
?assertMatch({error, _}, emqx_sup:start_child(emqx_broker_sup, supervisor)),
|
||||
?assertEqual(ok, emqx_sup:stop_child(emqx_broker_sup)),
|
||||
?assertMatch({ok, _}, emqx_sup:start_child(emqx_broker_sup, supervisor)).
|
||||
?assertMatch({ok, _}, emqx_sup:start_child(emqx_broker_sup, supervisor)).
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
-compile(export_all).
|
||||
-compile(nowarn_export_all).
|
||||
|
||||
all() -> emqx_common_test_helpers:all(?MODULE).
|
||||
all() -> emqx_common_test_helpers:all(?MODULE).
|
||||
|
|
|
@ -182,4 +182,4 @@ to_server(Server) ->
|
|||
case string:tokens(Server, ":") of
|
||||
[Host, Port] -> {ok, {Host, list_to_integer(Port)}};
|
||||
_ -> {error, Server}
|
||||
end.
|
||||
end.
|
||||
|
|
|
@ -47,4 +47,4 @@ emqx_limiter {
|
|||
per_client = "100/10s,10"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2099,4 +2099,4 @@
|
|||
"title": "EMQ",
|
||||
"uid": "tjRlQw6Zk",
|
||||
"version": 29
|
||||
}
|
||||
}
|
||||
|
|
|
@ -630,4 +630,4 @@
|
|||
"title": "EMQ Dashboard",
|
||||
"uid": "5sreUw6Wz",
|
||||
"version": 11
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1471,4 +1471,4 @@
|
|||
"title": "ErlangVM",
|
||||
"uid": "stprQQ6Zk",
|
||||
"version": 13
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
"bulk": "10KB"
|
||||
"chars_limit": 1024
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,4 +55,4 @@ ensure_pool_worker(Pool, Name, Slot) ->
|
|||
try gproc_pool:add_worker(Pool, Name, Slot)
|
||||
catch
|
||||
error:exists -> ok
|
||||
end.
|
||||
end.
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
%% See the License for the specific language governing permissions and
|
||||
%% limitations under the License.
|
||||
%%--------------------------------------------------------------------
|
||||
-module(emqx_resource_uitils).
|
||||
-module(emqx_resource_uitils).
|
||||
|
|
|
@ -23,4 +23,4 @@ logs/
|
|||
rebar.lock
|
||||
test/ct.cover.spec
|
||||
etc/emqx_retainer.conf.rendered
|
||||
.rebar3/
|
||||
.rebar3/
|
||||
|
|
|
@ -206,4 +206,4 @@ unsafe_atom_key_map(BinKeyMap) when is_map(BinKeyMap) ->
|
|||
end, #{}, BinKeyMap);
|
||||
unsafe_atom_key_map(ListV) when is_list(ListV) ->
|
||||
[unsafe_atom_key_map(V) || V <- ListV];
|
||||
unsafe_atom_key_map(Val) -> Val.
|
||||
unsafe_atom_key_map(Val) -> Val.
|
||||
|
|
|
@ -95,4 +95,4 @@ spec:
|
|||
{{- toYaml .Values.ingress.mgmt.tls | nindent 4 }}
|
||||
{{- end }}
|
||||
---
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -17,8 +17,8 @@ rules:
|
|||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- endpoints
|
||||
verbs:
|
||||
- endpoints
|
||||
verbs:
|
||||
- get
|
||||
- watch
|
||||
- list
|
||||
|
@ -39,4 +39,4 @@ subjects:
|
|||
roleRef:
|
||||
kind: Role
|
||||
name: {{ include "emqx.fullname" . }}
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
|
|
Loading…
Reference in New Issue