From 34b83e9815a44f1e8b923c460042fc1dafbca509 Mon Sep 17 00:00:00 2001 From: Michael Yocca Date: Tue, 12 Jul 2022 09:08:53 -0700 Subject: [PATCH] cleanup runs list query parameter options --- run.go | 5 ----- run_integration_test.go | 1 - 2 files changed, 6 deletions(-) diff --git a/run.go b/run.go index 93b90d890..d55cf4954 100644 --- a/run.go +++ b/run.go @@ -194,23 +194,18 @@ type RunListOptions struct { ListOptions // Optional: Username of user who created the run - // **Note: This API is still in BETA and is subject to change.** Name string `url:"search[name],omitempty"` // Optional: Commit SHA for runs triggered via a vcs event - // **Note: This API is still in BETA and is subject to change.** Commit string `url:"search[commit],omitempty"` // Optional: Current status of the run - // **Note: This API is still in BETA and is subject to change.** Status string `url:"filter[status],omitempty"` // Optional: Source that triggered the run - // **Note: This API is still in BETA and is subject to change.** Source string `url:"filter[source],omitempty"` // Optional: Operation type for the run - // **Note: This API is still in BETA and is subject to change.** Operation string `url:"filter[operation],omitempty"` // Optional: A list of relations to include. See available resources: diff --git a/run_integration_test.go b/run_integration_test.go index ee647d29d..ddfd9283b 100644 --- a/run_integration_test.go +++ b/run_integration_test.go @@ -163,7 +163,6 @@ func TestRunsListQueryParams(t *testing.T) { for _, testCase := range testCases { t.Run(testCase.description, func(t *testing.T) { - skipIfBeta(t) runs, err := client.Runs.List(ctx, workspaceTest.ID, testCase.options) testCase.assertion(testCase, runs, err) })