Skip to content

Commit 2c33bf8

Browse files
committed
feat(setServiceUrl): use setServiceUrl instead of setServiceEndpoint
BREAKING CHANGE: Use SetServiceUrl to set the service endpoint rather than SetEndpoint
1 parent 2182f33 commit 2c33bf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

BaseService.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace IBM.Cloud.SDK
2727
public class BaseService
2828
{
2929
protected Authenticator authenticator;
30-
protected string url;
30+
protected string serviceUrl;
3131
public string ServiceId { get; set; }
3232
protected Dictionary<string, string> customRequestHeaders = new Dictionary<string, string>();
3333
public static string PropNameServiceUrl = "URL";
@@ -46,7 +46,7 @@ public BaseService(Authenticator authenticator, string serviceId) {
4646
props.TryGetValue(PropNameServiceUrl, out string url);
4747
if (!string.IsNullOrEmpty(url))
4848
{
49-
SetEndpoint(url);
49+
SetServiceUrl(url);
5050
}
5151
}
5252

@@ -62,9 +62,9 @@ protected void SetAuthentication(RESTConnector connector)
6262
}
6363
}
6464

65-
public void SetEndpoint(string endpoint)
65+
public void SetServiceUrl(string url)
6666
{
67-
url = endpoint;
67+
serviceUrl = url;
6868
}
6969

7070
/// <summary>

0 commit comments

Comments
 (0)