Skip to content

Commit

Permalink
Merge branch 'release/2.43.0-1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
eheimbuch committed Apr 13, 2023
2 parents f4f4bdf + db37ab0 commit 0b78ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/var/tmp/scm/init.script.d/020-configuration.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ecosystem.

import sonia.scm.config.ScmConfiguration;
import sonia.scm.util.ScmConfigurationUtil;
import sonia.scm.admin.ScmConfigurationStore;
import sonia.scm.group.Group;
import sonia.scm.group.GroupManager;
import sonia.scm.security.PermissionAssigner;
Expand Down Expand Up @@ -114,7 +114,7 @@ if (disableReleaseFeed != null && disableReleaseFeed.equalsIgnoreCase("true")) {
config.setEnabledUserConverter(true)

// store configuration
ScmConfigurationUtil.getInstance().store(config);
injector.getInstance(ScmConfigurationStore.class).store(config);

// set admin group
String adminGroup = getGlobalValueFromEtcd("admin_group");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This script configures proxy settings from etcd

import sonia.scm.config.ScmConfiguration;
import sonia.scm.util.ScmConfigurationUtil;
import sonia.scm.admin.ScmConfigurationStore;
import groovy.json.JsonSlurper;

def getValueFromEtcd(String key){
Expand Down Expand Up @@ -64,4 +64,4 @@ def setProxyExcludes(configuration){
}

// store configuration
ScmConfigurationUtil.getInstance().store(configuration);
injector.getInstance(ScmConfigurationStore.class).store(configuration);

0 comments on commit 0b78ef3

Please sign in to comment.