Skip to content

Commit f09bf1e

Browse files
cleanup
1 parent aa31904 commit f09bf1e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/workspace/lakeview/overrides.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import (
88
func publishOverride(cmd *cobra.Command, req *dashboards.PublishRequest) {
99
originalRunE := cmd.RunE
1010
cmd.RunE = func(cmd *cobra.Command, args []string) error {
11-
// Always send embed_credentials to the API, even when false.
12-
// This ensures the false value is explicitly sent rather than omitted,
13-
// which would cause the API to default to true.
11+
// Force send embed_credentials even when false, otherwise the API defaults to true.
1412
req.ForceSendFields = append(req.ForceSendFields, "EmbedCredentials")
1513
return originalRunE(cmd, args)
1614
}

0 commit comments

Comments
 (0)