Skip to content

Commit 780c396

Browse files
Server uri internal setter
1 parent db387cf commit 780c396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Octopus.OpenFeature.Provider.SpecificationTests/FixtureEvaluationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ static EvaluationContext BuildContext(Dictionary<string, string>? context)
5656
"PROVIDER_FATAL" => ErrorType.ProviderFatal,
5757
"GENERAL" => ErrorType.General,
5858
null => ErrorType.None,
59-
_ => ErrorType.General
59+
_ => throw new ArgumentException($"Unknown error code: {errorCode}")
6060
};
6161
}

src/Octopus.OpenFeature.Provider/OctopusFeatureConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public OctopusFeatureConfiguration(string clientIdentifier, ProductMetadata prod
1515
ServerUri = serverUri is not null ? new Uri(serverUri) : new Uri(DefaultServerUri);
1616
}
1717

18-
internal Uri ServerUri { get; set; }
18+
public Uri ServerUri { get; internal set; }
1919

2020
/// <summary>
2121
/// Overrides the application release version embedded in the ClientIdentifier

0 commit comments

Comments
 (0)