Skip to content

Commit 76ec5bf

Browse files
naming errors
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 1e583f4 commit 76ec5bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

providers/go-feature-flag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/exception/FlagConfigurationEndpointNotFound.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
import lombok.experimental.StandardException;
44

5-
/** InvalidEndpoint is thrown when we don't have any endpoint in the configuration. */
5+
/** Thrown when it is impossible to find the flag configuration endpoint. */
66
@StandardException
77
public class FlagConfigurationEndpointNotFound extends GoFeatureFlagRuntimeException {}

providers/go-feature-flag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/exception/ImpossibleToRetrieveConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
import lombok.experimental.StandardException;
44

5-
/** This exception is thrown when the SDK is unable to send events to the GO Feature Flag server. */
5+
/** Thrown when it is impossible to retrieve the flag configuration. */
66
@StandardException
77
public class ImpossibleToRetrieveConfiguration extends GoFeatureFlagRuntimeException {}

providers/go-feature-flag/src/test/java/dev/openfeature/contrib/providers/gofeatureflag/api/GoFeatureFlagApiTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,9 +485,9 @@ public void requestShouldHaveAnAPIKey() {
485485
}
486486

487487
@SneakyThrows
488-
@DisplayName("request should call the collector endpoint")
488+
@DisplayName("request should call the configuration endpoint")
489489
@Test
490-
public void requestShouldCallTheCollectorEndpoint() {
490+
public void requestShouldCallTheConfigurationEndpoint() {
491491
val options = GoFeatureFlagProviderOptions.builder()
492492
.endpoint(baseUrl.toString())
493493
.build();

0 commit comments

Comments
 (0)