Skip to content

Commit

Permalink
Merge pull request #101 from OctopusDeploy/feat-space-id-for-project-…
Browse files Browse the repository at this point in the history
…group

feat: added space ID to project group
  • Loading branch information
jbristowe committed Jun 3, 2022
2 parents 91b5b85 + 314cd02 commit d9df3cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration/project_group_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func AssertEqualProjectGroups(t *testing.T, expected *octopusdeploy.ProjectGroup
assert.Equal(t, expected.EnvironmentIDs, actual.EnvironmentIDs)
assert.Equal(t, expected.Name, actual.Name)
assert.Equal(t, expected.RetentionPolicyID, actual.RetentionPolicyID)
assert.Equal(t, expected.SpaceID, actual.SpaceID)
}

func CreateTestProjectGroup(t *testing.T, client *octopusdeploy.Client) *octopusdeploy.ProjectGroup {
Expand Down
1 change: 1 addition & 0 deletions octopusdeploy/project_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type ProjectGroup struct {
EnvironmentIDs []string `json:"EnvironmentIds,omitempty"`
Name string `json:"Name,omitempty" validate:"required"`
RetentionPolicyID string `json:"RetentionPolicyId,omitempty"`
SpaceID string `json:"SpaceId,omitempty"`

resource
}
Expand Down

0 comments on commit d9df3cd

Please sign in to comment.