From 804d379100a72e409517f14bf73454e1411bc726 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 9 Sep 2024 13:57:33 +0200 Subject: [PATCH] address comments --- .codegen.json | 4 ++-- .gitattributes | 2 +- cmd/bundle/schema.go | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.codegen.json b/.codegen.json index 62f75df02..077d072bb 100644 --- a/.codegen.json +++ b/.codegen.json @@ -11,10 +11,10 @@ "toolchain": { "required": ["go"], "post_generate": [ - "go run ./bundle/internal/schema/*.go ./bundle/generated/jsonschema.json", + "go run ./bundle/internal/schema/*.go ./bundle/schema/jsonschema.json", "echo 'bundle/internal/tf/schema/\\*.go linguist-generated=true' >> ./.gitattributes", "echo 'go.sum linguist-generated=true' >> ./.gitattributes", - "echo 'bundle/generated/jsonschema.json linguist-generated=true' >> ./.gitattributes" + "echo 'bundle/schema/jsonschema.json linguist-generated=true' >> ./.gitattributes" ] } } diff --git a/.gitattributes b/.gitattributes index 17cef7d26..f35c4f81d 100755 --- a/.gitattributes +++ b/.gitattributes @@ -120,4 +120,4 @@ cmd/workspace/workspace-conf/workspace-conf.go linguist-generated=true cmd/workspace/workspace/workspace.go linguist-generated=true bundle/internal/tf/schema/\*.go linguist-generated=true go.sum linguist-generated=true -bundle/generated/jsonschema.json linguist-generated=true +bundle/schema/jsonschema.json linguist-generated=true diff --git a/cmd/bundle/schema.go b/cmd/bundle/schema.go index 6193f91e3..480618ed7 100644 --- a/cmd/bundle/schema.go +++ b/cmd/bundle/schema.go @@ -1,8 +1,6 @@ package bundle import ( - _ "embed" - "github.com/databricks/cli/bundle/schema" "github.com/databricks/cli/cmd/root" "github.com/spf13/cobra"