Skip to content

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Apr 2, 2024

Groundwork for coder/coder#8560

@f0ssel f0ssel requested review from kylecarbs and sreya April 2, 2024 20:07
@f0ssel f0ssel merged commit 176fb6a into main Apr 2, 2024
@f0ssel f0ssel deleted the f0ssel/owner-groups branch April 2, 2024 23:01
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2024
Comment on lines +40 to +45
ownerGroupsText := os.Getenv("CODER_WORKSPACE_OWNER_GROUPS")
var ownerGroups []string
err := json.Unmarshal([]byte(ownerGroupsText), &ownerGroups)
if err != nil {
return diag.Errorf("couldn't parse owner groups %q", ownerGroupsText)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't guaranteed to be set :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants