From ce984254faba59f04d25d7265a1a2225f20aac66 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 10 Oct 2024 15:38:10 +0200 Subject: [PATCH] - --- .codegen/service.go.tmpl | 1 - cmd/account/access-control/access-control.go | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.codegen/service.go.tmpl b/.codegen/service.go.tmpl index 549fcc93..c7ad85ff 100644 --- a/.codegen/service.go.tmpl +++ b/.codegen/service.go.tmpl @@ -9,7 +9,6 @@ import ( "github.com/databricks/databricks-sdk-go/service/{{.Package.Name}}" "github.com/spf13/cobra" - {{range .Subservices -}} {{.SnakeName}} "github.com/databricks/cli/cmd/{{ if .ParentService.IsAccounts }}account{{ else }}workspace{{ end }}/{{.KebabName}}" {{end}} diff --git a/cmd/account/access-control/access-control.go b/cmd/account/access-control/access-control.go index 3f495c40..87467d89 100755 --- a/cmd/account/access-control/access-control.go +++ b/cmd/account/access-control/access-control.go @@ -61,7 +61,7 @@ func newGetAssignableRolesForResource() *cobra.Command { cmd.Use = "get-assignable-roles-for-resource RESOURCE" cmd.Short = `Get assignable roles for a resource.` cmd.Long = `Get assignable roles for a resource. - + Gets all the roles that can be granted on an account level resource. A role is grantable if the rule set on the resource can contain an access rule of the role. @@ -121,7 +121,7 @@ func newGetRuleSet() *cobra.Command { cmd.Use = "get-rule-set NAME ETAG" cmd.Short = `Get a rule set.` cmd.Long = `Get a rule set. - + Get a rule set by its name. A rule set is always attached to a resource and contains a list of access rules on the said resource. Currently only a default rule set for each resource is supported. @@ -192,7 +192,7 @@ func newUpdateRuleSet() *cobra.Command { cmd.Use = "update-rule-set" cmd.Short = `Update a rule set.` cmd.Long = `Update a rule set. - + Replace the rules of a rule set. First, use get to read the current version of the rule set before modifying it. This pattern helps prevent conflicts between concurrent updates.`