Skip to content

Commit

Permalink
[cherry-pick] make fmt (#1438) (#1444)
Browse files Browse the repository at this point in the history
/cherry-pick

Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Mar 1, 2022
1 parent 582f10d commit 8046cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/backup.go
Expand Up @@ -523,7 +523,7 @@ func getPrimaryNSecondaryMember(mongoDSN string) (primary, secondary string, err
klog.Infoln("finding primary and secondary instances of", mongoDSN)
v := make(map[string]interface{})

//stop balancer
// stop balancer
args := append([]interface{}{
"config",
"--host", mongoDSN,
Expand Down
2 changes: 1 addition & 1 deletion pkg/root.go
Expand Up @@ -29,7 +29,7 @@ var SupportedProducts = []string{"stash-enterprise", "kubedb-ext-stash"}
var licenseApiService string

func NewRootCmd() *cobra.Command {
var rootCmd = &cobra.Command{
rootCmd := &cobra.Command{
Use: "stash-mongodb",
Short: `MongoDB backup & restore plugin for Stash by AppsCode`,
Long: `MongoDB backup & restore plugin for Stash by AppsCode. For more information, visit here: https://appscode.com/products/stash`,
Expand Down

0 comments on commit 8046cba

Please sign in to comment.