removed.instace from SecretManagerProvider
This commit is contained in:
parent
aedb52a34d
commit
f0f69162a3
|
@ -23,7 +23,7 @@ public class Helper {
|
|||
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))
|
||||
return expression;
|
||||
|
|
|
@ -37,7 +37,7 @@ public class ICClient implements DiscoveryClient<String> {
|
|||
|
||||
|
||||
public List<String> submit(Query query) throws DiscoveryException {
|
||||
Objects.requireNonNull(SecretManagerProvider.instance.get());
|
||||
Objects.requireNonNull(SecretManagerProvider.get());
|
||||
try {
|
||||
CollectorStub stub = getStub();
|
||||
String results = callService(query, stub);
|
||||
|
|
Loading…
Reference in New Issue