deps(go): bump github.com/open-feature/go-sdk from 1.14.1 to 1.16.0 (#112489)
* deps(go): bump github.com/open-feature/go-sdk from 1.14.1 to 1.16.0 Bumps [github.com/open-feature/go-sdk](https://github.com/open-feature/go-sdk) from 1.14.1 to 1.16.0. - [Release notes](https://github.com/open-feature/go-sdk/releases) - [Changelog](https://github.com/open-feature/go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-feature/go-sdk/compare/v1.14.1...v1.16.0) --- updated-dependencies: - dependency-name: github.com/open-feature/go-sdk dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * make update-workspace Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * fix(lint): SA1019: openfeature.GetApiInstance is deprecated, using NewDefaultClient Signed-off-by: Dave Henderson <dave.henderson@grafana.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Dave Henderson <dave.henderson@grafana.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
This commit is contained in:
co-authored by
Dave Henderson
parent
9573cd3395
commit
05dff2f7cb
@@ -124,7 +124,7 @@ func testGoFFProvider(t *testing.T, failSigning bool) {
|
||||
|
||||
// Test that the flag evaluation can be attempted (though it will fail due to non-existent service)
|
||||
// The important thing is that the authentication middleware is properly integrated
|
||||
_, err := openfeature.GetApiInstance().GetClient().BooleanValueDetails(ctx, "test", false, openfeature.NewEvaluationContext("test", map[string]interface{}{"test": "test"}))
|
||||
_, err := openfeature.NewDefaultClient().BooleanValueDetails(ctx, "test", false, openfeature.NewEvaluationContext("test", map[string]interface{}{"test": "test"}))
|
||||
|
||||
// Error related to the token exchange should be returned if signing fails
|
||||
// otherwise, it should return a connection refused error since the goff URL is not set
|
||||
|
||||
Reference in New Issue
Block a user