We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa31904 commit f09bf1eCopy full SHA for f09bf1e
cmd/workspace/lakeview/overrides.go
@@ -8,9 +8,7 @@ import (
8
func publishOverride(cmd *cobra.Command, req *dashboards.PublishRequest) {
9
originalRunE := cmd.RunE
10
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.
+ // Force send embed_credentials even when false, otherwise the API defaults to true.
14
req.ForceSendFields = append(req.ForceSendFields, "EmbedCredentials")
15
return originalRunE(cmd, args)
16
}
0 commit comments