Compare commits
6 commits
6dd804f3d6
...
6302de004f
Author | SHA1 | Date | |
---|---|---|---|
6302de004f | |||
91df45ed5f | |||
da8b10f7b8 | |||
b19cf01534 | |||
75e164baac | |||
b14c22f4a2 |
3 changed files with 2 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Check if the environment variable GRAFANA_MODE is set
|
||||
if [ -z "$GB_SEQUENCE" ]; then
|
||||
exec ./grafana-backuper backup --json
|
||||
exec /app/grafana-backuper backup --json
|
||||
else
|
||||
exec ./grafana-backuper --json
|
||||
exec /app/grafana-backuper --json
|
||||
fi
|
||||
|
|
|
@ -10,7 +10,6 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
//nolint:dupl // This function may be the same as or similar to other cmd functions.
|
||||
func NewBackupCommand(c *config.Config) *cobra.Command {
|
||||
backupCmd := &cobra.Command{
|
||||
Use: "backup",
|
||||
|
|
|
@ -10,7 +10,6 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
//nolint:dupl // This function may be the same as or similar to other cmd functions.
|
||||
func NewRestoreCommand(c *config.Config) *cobra.Command {
|
||||
restoreCmd := &cobra.Command{
|
||||
Use: "restore",
|
||||
|
|
Loading…
Add table
Reference in a new issue