From a9b8575bc3667e7537d3232cba082354e2f18e54 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 14 Oct 2024 15:49:19 +0200 Subject: [PATCH] fmt and fix test --- bundle/config/resources.go | 1 + internal/bundle/artifacts_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bundle/config/resources.go b/bundle/config/resources.go index 33040e7cf..d3ddde894 100644 --- a/bundle/config/resources.go +++ b/bundle/config/resources.go @@ -76,6 +76,7 @@ func SupportedResources() map[string]ResourceDescription { "registered_models": {SingularName: "registered_model"}, "quality_monitors": {SingularName: "quality_monitor"}, "schemas": {SingularName: "schema"}, + "volumes": {SingularName: "volume"}, "clusters": {SingularName: "cluster"}, } } diff --git a/internal/bundle/artifacts_test.go b/internal/bundle/artifacts_test.go index 4030db08d..d2938fa72 100644 --- a/internal/bundle/artifacts_test.go +++ b/internal/bundle/artifacts_test.go @@ -249,8 +249,8 @@ func TestAccUploadArtifactFileToInvalidVolume(t *testing.T) { dir := t.TempDir() b := &bundle.Bundle{ - BundleRootPath: dir, - SyncRootPath: dir, + BundleRootPath: dir, + SyncRootPath: dir, Config: config.Root{ Bundle: config.Bundle{ Target: "whatever", @@ -282,8 +282,8 @@ func TestAccUploadArtifactFileToInvalidVolume(t *testing.T) { dir := t.TempDir() b := &bundle.Bundle{ - BundleRootPath: dir, - SyncRootPath: dir, + BundleRootPath: dir, + SyncRootPath: dir, Config: config.Root{ Bundle: config.Bundle{ Target: "whatever",