We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbdd822 commit 10afe90Copy full SHA for 10afe90
1 file changed
examples/local/vttablet-up.sh
@@ -14,6 +14,8 @@ grpc_port_base=16100
14
mysql_port_base=33100
15
tablet_hostname=''
16
17
+# Travis hostnames are too long for MySQL, so we use IP.
18
+# Otherwise, blank hostname means the tablet auto-detects FQDN.
19
if [ "$TRAVIS" == true ]; then
20
tablet_hostname=`hostname -i`
21
fi
@@ -86,7 +88,7 @@ for uid_index in $uids; do
86
88
$VTROOT/bin/vttablet \
87
89
-log_dir $VTDATAROOT/tmp \
90
-tablet-path $alias \
- -tablet_hostname $tablet_hostname \
91
+ -tablet_hostname "$tablet_hostname" \
92
-init_keyspace $keyspace \
93
-init_shard $shard \
94
-target_tablet_type $tablet_type \
0 commit comments