Skip to content

Commit

Permalink
SCALRCORE-22261 Add tags relationship to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
denkl committed Jul 21, 2022
1 parent e0c1712 commit 5213ce8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type Tags interface {
ReadByID(ctx context.Context, tagID string) (*Tag, error)
// Update existing tag by its ID.
Update(ctx context.Context, tagID string, options TagUpdateOptions) (*Tag, error)

// Delete deletes a tag by its ID.
Delete(ctx context.Context, tagID string) error
}
Expand Down
1 change: 1 addition & 0 deletions workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type Workspace struct {
VcsProvider *VcsProvider `jsonapi:"relation,vcs-provider"`
AgentPool *AgentPool `jsonapi:"relation,agent-pool"`
ModuleVersion *ModuleVersion `jsonapi:"relation,module-version,omitempty"`
Tags []*Tag `jsonapi:"relation,tags,omitempty"`
}

// Hooks contains the custom hooks field.
Expand Down

0 comments on commit 5213ce8

Please sign in to comment.