File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/uid2/core/service Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1212import java .io .InputStream ;
1313import java .io .InputStreamReader ;
1414
15+ import static com .uid2 .core .util .MetadataHelper .getMetadataPathName ;
1516import static com .uid2 .core .util .MetadataHelper .readToEndAsString ;
1617
1718public class ClientSideKeypairMetadataProvider implements IClientSideKeypairMetadataProvider {
@@ -26,7 +27,7 @@ public ClientSideKeypairMetadataProvider(ICloudStorage cloudStorage) {
2627
2728 @ Override
2829 public String getMetadata (OperatorInfo info ) throws Exception {
29- String pathname = new GlobalScope ( new CloudPath ( SecretStore .Global .get (ClientSideKeypairMetadataPathName ))). getMetadataPath (). toString ( );
30+ String pathname = getMetadataPathName ( info , SecretStore .Global .get (ClientSideKeypairMetadataPathName ));
3031 String original = readToEndAsString (metadataStreamProvider .download (pathname ));
3132 JsonObject main = (JsonObject ) Json .decodeValue (original );
3233 JsonObject obj = main .getJsonObject ("client_side_keypairs" );
You can’t perform that action at this time.
0 commit comments