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

Filtering workspaces based on tags fails if tag value contains ":" #700

Closed
sharathrnair87 opened this issue May 10, 2023 · 1 comment
Closed

Comments

@sharathrnair87
Copy link
Contributor

If the tag associated with the workspace contains a : character , the workspace does not show up when that tag name is specified as a filter in WorkspaceListOptions

https://github.com/hashicorp/go-tfe/blob/main/workspace.go#L258

How to reproduce:

  1. Tag a workspace with a value which contains a ":" for e.g. test:tag
  2. Compose a WorkspaceListOptions struct with the Tags field as the aforementioned tag

Expected Result:
Returns the workspace with the test:tag

Actual Result:
No workspace returned

@sharathrnair87
Copy link
Contributor Author

Closing this issue as I've been unable to reproduce it lately. Will open a new one in-case it resurfaces.

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

1 participant