Skip to content

Commit

Permalink
Merge pull request #893 from hashicorp/netramali/remove-beta-flags-pr…
Browse files Browse the repository at this point in the history
…oject-description

Remove beta flags for description attribute for projects
  • Loading branch information
netramali committed Apr 24, 2024
2 parents c2be83d + ec5ef4a commit 7e3d4a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions project.go
Expand Up @@ -49,7 +49,6 @@ type Project struct {
ID string `jsonapi:"primary,projects"`
Name string `jsonapi:"attr,name"`

// **Note: This field is still in BETA and subject to change.**
Description string `jsonapi:"attr,description"`

// Relations
Expand Down Expand Up @@ -81,7 +80,6 @@ type ProjectCreateOptions struct {
Name string `jsonapi:"attr,name"`

// Optional: A description for the project.
// **Note: This field is still in BETA and subject to change.**
Description *string `jsonapi:"attr,description,omitempty"`
}

Expand All @@ -97,7 +95,6 @@ type ProjectUpdateOptions struct {
Name *string `jsonapi:"attr,name,omitempty"`

// Optional: A description for the project.
// **Note: This field is still in BETA and subject to change.**
Description *string `jsonapi:"attr,description,omitempty"`
}

Expand Down
2 changes: 0 additions & 2 deletions projects_integration_test.go
Expand Up @@ -102,7 +102,6 @@ func TestProjectsCreate(t *testing.T) {
defer orgTestCleanup()

t.Run("with valid options", func(t *testing.T) {
skipUnlessBeta(t)
options := ProjectCreateOptions{
Name: "foo",
Description: String("qux"),
Expand Down Expand Up @@ -155,7 +154,6 @@ func TestProjectsUpdate(t *testing.T) {
defer orgTestCleanup()

t.Run("with valid options", func(t *testing.T) {
skipUnlessBeta(t)
kBefore, kTestCleanup := createProject(t, client, orgTest)
defer kTestCleanup()

Expand Down

0 comments on commit 7e3d4a4

Please sign in to comment.