Skip to content

Commit 572133c

Browse files
committed
chore: update to EMQX 5.9.0
1 parent a94cacf commit 572133c

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ clean:
4848
.PHONY: distclean
4949
distclean: clean
5050
@rm -rf _build
51-
@rm -f data/app.*.config data/vm.*.args rebar.lock
51+
@rm -f rebar.lock
5252

5353
.PHONY: rel
5454
rel: $(REBAR)

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
services:
22
emqx:
3-
image: emqx/emqx-enterprise:5.8.5
4-
# TODO: uncomment when 5.9.0 image is released
5-
# image: docker.io/emqx/emqx-enterprise:5.9.0
3+
image: emqx/emqx-enterprise:5.9.0
64
container_name: emqx
75
environment:
86
EMQX_LOG__CONSOLE__LEVEL: debug

rebar.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
%% -*- mode: erlang -*-
22
{deps, [
33
{emqx_plugin_helper,
4-
{git, "https://github.com/savonarola/emqx-plugin-helper.git", {branch, "main"}}}
4+
{git, "https://github.com/savonarola/emqx-plugin-helper.git", {branch, "v5.9.0"}}}
55
]}.
66

77
{plugins, [
88
{emqx_plugin_helper,
9-
{git, "https://github.com/savonarola/emqx-plugin-helper.git", {branch, "main"}}},
9+
{git, "https://github.com/savonarola/emqx-plugin-helper.git", {branch, "v5.9.0"}}},
1010
{erlfmt, "1.6.0"}
1111
]}.
1212

src/emqx_omp.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ status_to_error_list(ok) -> [];
164164
status_to_error_list({error, Error}) -> [Error].
165165

166166
current_config() ->
167-
emqx_plugin_helper:get_config(?PLUGIN_NAME).
167+
emqx_plugin_helper:get_config(?PLUGIN_NAME_VSN).
168168

169169
init_metrics() ->
170170
?SLOG(info, #{msg => "omp_init_metrics"}),

src/emqx_omp_redis.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ stop_resource() ->
433433
msg => omp_redis_resource_stop,
434434
resource_id => ?RESOURCE_ID
435435
}),
436-
emqx_resource:remove_local(?RESOURCE_ID).
436+
ok = emqx_resource:remove_local(?RESOURCE_ID).
437437

438438
sync_cmd(Cmd) ->
439439
emqx_resource:simple_sync_query(?RESOURCE_ID, {cmd, Cmd}).

test/emqx_omp_SUITE.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ groups() ->
3333
[mysql_tcp, mysql_ssl, redis_tcp, redis_ssl],
3434
[sync, async],
3535
[buffered, unbuffered],
36-
%% TODO: restore t_health_check when 5.9.0 image is released
37-
%% and used in the Docker Compose file
38-
emqx_omp_test_helpers:all(?MODULE) -- [t_health_check]
36+
emqx_omp_test_helpers:all(?MODULE)
3937
]).
4038

4139
init_per_suite(Config) ->

0 commit comments

Comments
 (0)