mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
remove validate name from client
This commit is contained in:
parent
c6a502efed
commit
28580fd354
1 changed files with 0 additions and 10 deletions
|
|
@ -104,16 +104,6 @@ func (cmd *ImportCommand) Run(ctx context.Context) error {
|
|||
} else if len(cmd.Paths) == 0 {
|
||||
return errors.New("path required")
|
||||
}
|
||||
// Restrict frame name and database name with regex
|
||||
dbError := pilosa.ValidateName(cmd.Database)
|
||||
if dbError != nil {
|
||||
return dbError
|
||||
}
|
||||
|
||||
frameError := pilosa.ValidateName(cmd.Frame)
|
||||
if frameError != nil {
|
||||
return frameError
|
||||
}
|
||||
// Create a client to the server.
|
||||
client, err := pilosa.NewClient(cmd.Host)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue