Skip to content

Commit da9163e

Browse files
committed
use GetWorkspaceOwnerGroups
1 parent 9ae8efb commit da9163e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisioner/terraform/provision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func provisionEnv(
188188
richParams []*proto.RichParameterValue, externalAuth []*proto.ExternalAuthProvider,
189189
) ([]string, error) {
190190
env := safeEnviron()
191-
ownerGroups, err := json.Marshal(metadata.WorkspaceOwnerGroups)
191+
ownerGroups, err := json.Marshal(metadata.GetWorkspaceOwnerGroups())
192192
if err != nil {
193193
return nil, xerrors.Errorf("marshal owner groups: %w", err)
194194
}

0 commit comments

Comments
 (0)