address review comments

This commit is contained in:
Travis Turner 2018-08-14 14:37:51 -05:00
parent 0a6f0e92d8
commit 862dabe27d
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9
2 changed files with 3 additions and 1 deletions

View file

@ -114,8 +114,10 @@ func (cmd *ImportCommand) Run(ctx context.Context) error {
if field.Name == cmd.Field {
useRowKeys = field.Options.Keys
fieldType = field.Options.Type
break
}
}
break
}
}

View file

@ -352,7 +352,7 @@ func (c *InternalClient) ImportK(ctx context.Context, index, field string, bits
}
coord := getCoordinatorNode(nodes)
if coord == nil {
return fmt.Errorf("could not find coordinator node")
return fmt.Errorf("could not find the coordinator node")
}
// Import to node.