Mise à jour de GitLab prévue ce dimanche 25 octobre 2020 à partir de 9h00 CEST | GitLab upgrade planned this Sunday 25th of October 2020 from 9:00 AM CEST

Commit d3e69313 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] fix i18N init error at startup

parent 1cd31395
Pipeline #4210 passed with stage
in 25 seconds
......@@ -54,7 +54,7 @@ public class RestNetworkPeeringGetAction extends BaseRestHandler {
super(settings, controller, client);
if (StringUtils.isBlank(pluginSettings.getClusterRemoteHost())) {
logger.warn(I18n.t("duniter.p2p.error.noRemoteUrl"));
logger.warn(String.format("The cluster address can not be published on the network. /\\!\\\\ Fill in the options [cluster.remote.xxx] in the configuration (recommended)."));
}
else {
securityController.allow(RestRequest.Method.GET, "(/[^/]+)?/network/peering");
......
......@@ -70,7 +70,7 @@ public class RestNetworkPeeringPostAction extends BaseRestHandler {
super(settings, controller, client);
if (StringUtils.isBlank(pluginSettings.getClusterRemoteHost())) {
logger.warn(I18n.t("duniter.p2p.error.noRemoteUrl"));
logger.warn(String.format("The cluster address can not be published on the network. /\\!\\\\ Fill in the options [cluster.remote.xxx] in the configuration (recommended)."));
}
else {
securityController.allow(RestRequest.Method.POST, "/network/peering");
......
......@@ -32,7 +32,7 @@ public class RestUserShareLinkAction extends AbstractRestShareLinkAction impleme
setResolver(this);
if (StringUtils.isBlank(pluginSettings.getClusterRemoteUrlOrNull())) {
log.warn(I18n.t("duniter4j.es.share.error.noRemoteUrl"));
log.warn(String.format("The cluster address can not be published on the network. /\\!\\\\ Fill in the options [cluster.remote.xxx] in the configuration (recommended)."));
}
this.pluginSettings = pluginSettings;
this.userService = userService;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment