Skip to content

Commit

Permalink
fixup! fix: Restore type enum validation
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
  • Loading branch information
mateusoliveira43 committed Dec 4, 2023
1 parent ba6ba6e commit 3394d79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pkg/apis/velero/v1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ limitations under the License.

package v1

type VeleroResourceUsage string

const (
VeleroResourceUsageDataUploadResult VeleroResourceUsage = "DataUpload"
)

const (
// DefaultNamespace is the Kubernetes namespace that is used by default for
// the Velero server and API objects.
Expand Down Expand Up @@ -56,6 +50,8 @@ const (
BackupRepositoryTypeRestic string = "restic"
BackupRepositoryTypeKopia string = "kopia"

VeleroResourceUsageDataUploadResult = "DataUpload"

// Labels

// BackupNameLabel is the label key used to identify a backup by name.
Expand Down

0 comments on commit 3394d79

Please sign in to comment.