removed.instace from SecretManagerProvider

This commit is contained in:
lucio 2024-02-22 12:02:51 +01:00
parent aedb52a34d
commit f0f69162a3
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class Helper {
public static String queryAddAuthenticationControl(String expression) throws MalformedQueryException public static String queryAddAuthenticationControl(String expression) throws MalformedQueryException
{ {
String scope = SecretManagerProvider.instance.get().getContext(); String scope = SecretManagerProvider.get().getContext();
if (scope==null || !new ContextBean(scope).is(Type.VRE)) if (scope==null || !new ContextBean(scope).is(Type.VRE))
return expression; return expression;

View File

@ -37,7 +37,7 @@ public class ICClient implements DiscoveryClient<String> {
public List<String> submit(Query query) throws DiscoveryException { public List<String> submit(Query query) throws DiscoveryException {
Objects.requireNonNull(SecretManagerProvider.instance.get()); Objects.requireNonNull(SecretManagerProvider.get());
try { try {
CollectorStub stub = getStub(); CollectorStub stub = getStub();
String results = callService(query, stub); String results = callService(query, stub);