You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.PersistentFlags().StringVarP(&table, "table", "t", "nodes", "table to use for health check")
35
35
cmd.PersistentFlags().IntVarP(&number, "number", "n", 10, "number of entries to expect in the table")
36
36
cmd.PersistentFlags().IntVarP(&timeout, "duration", "d", 0, "time to wait (in seconds) for health check")
37
-
cmd.PersistentFlags().StringVarP(&host, "host", "", "127.0.0.1", "host/ip address to use for health check. Defaults to 127.0.0.1 or STORJ_DOCKER_HOST if set.")
38
-
cmd.PersistentFlags().IntVarP(&port, "port", "p", 26257, "port to use for health check")
37
+
cmd.PersistentFlags().StringVarP(&host, "host", "", "localhost", "host/ip address to use for health check. Defaults to localhost or STORJ_DOCKER_HOST if set.")
38
+
cmd.PersistentFlags().IntVarP(&port, "port", "p", 9010, "port to use for health check")
39
39
cmd.Flags().StringVarP(&user, "user", "u", "root", "user to connect to the DB as")
40
40
cmd.Flags().StringVarP(&dbname, "dbname", "", "master", "DB name to connect to")
41
-
cmd.Flags().StringVarP(&dbtype, "dbtype", "", "cockroach", "database type (cockroach, postgres, or spanner)")
41
+
cmd.Flags().StringVarP(&dbtype, "dbtype", "", "spanner", "database type (spanner, postgres, or cockroach)")
42
42
cmd.Flags().StringVarP(&spannerURL, "spanner-url", "", "", "URL for Spanner connection in format spanner://projects/PROJECT/instances/INSTANCE/databases/DATABASE")
0 commit comments