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

feat(cdsctl): manage workflow label #5028

Merged
merged 5 commits into from
Mar 3, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update sdk/workflow.go
Co-Authored-By: François Samin <francois.samin@corp.ovh.com>
  • Loading branch information
yesnault and fsamin authored Mar 3, 2020
commit 7c5e5a666d41d5dffec5e0b2ae3ca829b030a89c
2 changes: 1 addition & 1 deletion sdk/workflow.go
Original file line number Diff line number Diff line change
@@ -253,7 +253,7 @@ type WorkflowNodeJobRunCount struct {
// Label represent a label linked to a workflow
type Label struct {
ID int64 `json:"id" db:"id"`
Name string `json:"name" db:"name" cli:"label"`
Name string `json:"name" db:"name" cli:"label,key"`
Color string `json:"color" db:"color"`
ProjectID int64 `json:"project_id" db:"project_id"`
WorkflowID int64 `json:"workflow_id,omitempty" db:"-"`