Skip to content

Commit 323cb8e

Browse files
committed
Use proper name of the mongodb service
1 parent 7a50b17 commit 323cb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
func main() {
1212
var (
1313
addr = flag.String("addr", ":8080", "endpoint address")
14-
mongo = flag.String("mongo", "localhost", "mongodb address")
14+
mongo = flag.String("mongo", "mongodb", "mongodb address")
1515
)
1616
log.Println("Dialign mongodb", *mongo)
1717
db, err := mgo.Dial(*mongo)

0 commit comments

Comments
 (0)