Skip to content

Commit 7f908eb

Browse files
authored
fix(stacks/vcs): update StackUpdateOptions struct with json annotated vcs options (#1039)
1 parent 9254825 commit 7f908eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stack.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ type StackCreateOptions struct {
189189

190190
// StackUpdateOptions represents the options for updating a stack.
191191
type StackUpdateOptions struct {
192-
Name *string `jsonapi:"attr,name,omitempty"`
193-
Description *string `jsonapi:"attr,description,omitempty"`
194-
VCSRepo *StackVCSRepo `jsonapi:"attr,vcs-repo,omitempty"`
192+
Name *string `jsonapi:"attr,name,omitempty"`
193+
Description *string `jsonapi:"attr,description,omitempty"`
194+
VCSRepo *StackVCSRepoOptions `jsonapi:"attr,vcs-repo,omitempty"`
195195
}
196196

197197
// WaitForStatusResult is the data structure that is sent over the channel

0 commit comments

Comments
 (0)