Commit 9f649d56 authored by Komal Makkar's avatar Komal Makkar
Browse files

minor changes

parent 758740a3
Pipeline #7405 failed with stages
in 4 minutes and 14 seconds
...@@ -56,7 +56,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor { ...@@ -56,7 +56,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor {
} }
@Override @Override
public Map<String,String> getOsduTenantHeaders(){ public Map<String,String> getOsduTenantHeaders() {
Map<String, String> headers = new HashMap<>(); Map<String, String> headers = new HashMap<>();
headers.put("Aeg-Subscription-Name", arg()); headers.put("Aeg-Subscription-Name", arg());
headers.put("data-partition-id", Config.Instance().OsduTenant); headers.put("data-partition-id", Config.Instance().OsduTenant);
......
...@@ -53,7 +53,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor { ...@@ -53,7 +53,7 @@ public class PubsubEndpointHMACDescriptor extends RestDescriptor {
@Override @Override
public Map<String,String> getOsduTenantHeaders(){ public Map<String,String> getOsduTenantHeaders(){
Map<String, String> headers = new HashMap<>(); Map<String, String> headers = new HashMap<>();
headers.put("data-partition-id", Config.Instance().ClientTenant); headers.put("data-partition-id", Config.Instance().OsduTenant);
return headers; return headers;
} }
......
Supports Markdown
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