Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two LambdaConfiguration structs? #23

Closed
pericson004 opened this issue Jun 21, 2020 · 1 comment
Closed

Two LambdaConfiguration structs? #23

pericson004 opened this issue Jun 21, 2020 · 1 comment
Assignees

Comments

@pericson004
Copy link

pericson004 commented Jun 21, 2020

Getting compile error because two structs have the same name in commit "rebuild domain after removing omitempty from bool types. Fix for #22", master branch, committed yesterday
1 parent b6a7bd6 commit 25495fe

Error is:
github.com/FusionAuth/go-client/pkg/fusionauth
../../../../pkg/mod/github.com/!fusion!auth/go-client@v0.0.0-20200619185324-25495fef79c3/pkg/fusionauth/Domain.go:1754:6: LambdaConfiguration redeclared in this block
previous declaration at ../../../../pkg/mod/github.com/!fusion!auth/go-client@v0.0.0-20200619185324-25495fef79c3/pkg/fusionauth/Domain.go:1748:6

type LambdaConfiguration struct {
  AccessTokenPopulateId     string                    `json:"accessTokenPopulateId,omitempty"`
  IdTokenPopulateId         string                    `json:"idTokenPopulateId,omitempty"`
  Samlv2PopulateId          string                    `json:"samlv2PopulateId,omitempty"`
}

type LambdaConfiguration struct {
  ReconcileId               string                    `json:"reconcileId,omitempty"`
}

My guess is this is a merge issue and the LambdaConfiguration struct should look like this:

type LambdaConfiguration struct {
  AccessTokenPopulateId     string                    `json:"accessTokenPopulateId,omitempty"`
  IdTokenPopulateId         string                    `json:"idTokenPopulateId,omitempty"`
  ReconcileId               string                    `json:"reconcileId,omitempty"`
  Samlv2PopulateId          string                    `json:"samlv2PopulateId,omitempty"`
}
@robotdan
Copy link
Member

I think this commit should resolve this for you.
4875872

@robotdan robotdan self-assigned this Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants