-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metabase] QOL Changes and chown wal files (#2627)
* Add detection sqlie wal for dashboard chown * Lean it down a little * Change to for loop with extensions * Keep existing uid on files incase user is running as a unpriviledge user * I have no idea 🤷 * Exclude dash.go and update windows * Update * Renam * Remove the os check since we no longer get to this stage for those os's --------- Co-authored-by: Manuel Sabban <github@sabban.eu>
- Loading branch information
1 parent
7e5ab34
commit ed3d501
Showing
3 changed files
with
70 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//go:build !linux | ||
|
||
package main | ||
|
||
import ( | ||
"runtime" | ||
|
||
log "github.com/sirupsen/logrus" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func NewDashboardCmd() *cobra.Command { | ||
var cmdDashboard = &cobra.Command{ | ||
Use: "dashboard", | ||
DisableAutoGenTag: true, | ||
Run: func(cmd *cobra.Command, args []string) { | ||
log.Infof("Dashboard command is disabled on %s", runtime.GOOS) | ||
}, | ||
} | ||
|
||
return cmdDashboard | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters