feat: Allow hide resources (#3977)

This commit is contained in:
Bruno Quaresma
2022-09-09 16:38:00 -03:00
committed by GitHub
parent f6aa025a01
commit 8a94b72c7d
44 changed files with 458 additions and 335 deletions

View File

@ -1767,6 +1767,7 @@ func (q *fakeQuerier) InsertWorkspaceResource(_ context.Context, arg database.In
Transition: arg.Transition,
Type: arg.Type,
Name: arg.Name,
Hide: arg.Hide,
}
q.provisionerJobResources = append(q.provisionerJobResources, resource)
return resource, nil