From: Peter Lemenkov <lemenkov@gmail.com>
Date: Wed, 2 Dec 2020 17:28:06 +0100
Subject: [PATCH] Fix for rebar2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/rebar.config b/rebar.config
index 81fa781..46349df 100644
--- a/rebar.config
+++ b/rebar.config
@@ -23,7 +23,6 @@
{erl_opts, [
warn_bif_clash,
- warn_export_all,
warn_export_vars,
warn_obsolete_guard,
warn_unused_import,
diff --git a/test/riak_sysmon_schema_tests.erl b/test/riak_sysmon_schema_tests.erl
index eeca0d4..7d5c462 100644
--- a/test/riak_sysmon_schema_tests.erl
+++ b/test/riak_sysmon_schema_tests.erl
@@ -22,6 +22,7 @@
-include_lib("eunit/include/eunit.hrl").
-compile(export_all).
+-compile(nowarn_export_all).
-define(DEFAULT_PROCESS_LIMIT, 30).
-define(DEFAULT_PORT_LIMIT, 2).