Skip to content

Commit 847a350

Browse files
authored
[cherry-pick] make fmt (#1438) (#1443)
/cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com>
1 parent c61280d commit 847a350

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ func getPrimaryNSecondaryMember(mongoDSN string) (primary, secondary string, err
523523
klog.Infoln("finding primary and secondary instances of", mongoDSN)
524524
v := make(map[string]interface{})
525525

526-
//stop balancer
526+
// stop balancer
527527
args := append([]interface{}{
528528
"config",
529529
"--host", mongoDSN,

pkg/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var SupportedProducts = []string{"stash-enterprise", "kubedb-ext-stash"}
2929
var licenseApiService string
3030

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

0 commit comments

Comments
 (0)