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

AnnotationType Validator Missing "src" as Value #5

Closed
tsconn23 opened this issue Jul 25, 2021 · 0 comments · Fixed by #6
Closed

AnnotationType Validator Missing "src" as Value #5

tsconn23 opened this issue Jul 25, 2021 · 0 comments · Fixed by #6
Assignees
Labels
bug Something isn't working

Comments

@tsconn23
Copy link
Contributor

The Validator() function for AnnotationType is missing "src" as a valid value and so an error is being thrown erroneously.

func (t AnnotationType) Validate() bool {
	if t == AnnotationPKI || t == AnnotationTPM {
		return true
	}
	return false
}
@tsconn23 tsconn23 added the bug Something isn't working label Jul 25, 2021
@tsconn23 tsconn23 self-assigned this Jul 25, 2021
tsconn23 added a commit to tsconn23/alvarium-sdk-go that referenced this issue Jul 25, 2021
Fix project-alvarium#5

Signed-off-by: Trevor Conn <trevor_conn@dell.com>
tsconn23 added a commit that referenced this issue Jul 25, 2021
Fix #5

Signed-off-by: Trevor Conn <trevor_conn@dell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant