Skip to content

Commit 1ad4d32

Browse files
author
Sriram Melkote
committed
MB-100: Make cbindex default to 127.0.0.1:8091 rather than localhost:8091
Change-Id: Ie45fd52344ec81c4c2d1278b56f3d5dd43b6f1b1
1 parent 6c8a5fe commit 1ad4d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secondary/querycmd/docmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func ParseArgs(arguments []string) (*Command, []string, *flag.FlagSet, error) {
7070
fset := flag.NewFlagSet("cmd", flag.ExitOnError)
7171

7272
// basic options
73-
fset.StringVar(&cmdOptions.Server, "server", "localhost:8091", "Cluster server address")
73+
fset.StringVar(&cmdOptions.Server, "server", "127.0.0.1:8091", "Cluster server address")
7474
fset.StringVar(&cmdOptions.Auth, "auth", "", "Auth user and password")
7575
fset.StringVar(&cmdOptions.Bucket, "bucket", "", "Bucket name")
7676
fset.StringVar(&cmdOptions.OpType, "type", "", "Command: scan|stats|scanAll|count|nodes|create|build|move|drop|list|config")

0 commit comments

Comments
 (0)