From 7c71b0d826dbbe4d4a817fbc9a8f700dea1f0ddc Mon Sep 17 00:00:00 2001 From: Peter van Hardenberg Date: Wed, 29 Oct 2014 12:11:52 -0700 Subject: [PATCH] allow no tables. --- main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.go b/main.go index 5bed99d..a5d6f46 100644 --- a/main.go +++ b/main.go @@ -75,14 +75,11 @@ func initClient() { } fmt.Println("Checking tables...") - tables, err := client.Tables() + _, err = client.Tables() if err != nil { exitWithMessage(err.Error()) } - if len(tables) == 0 { - exitWithMessage("Database does not have any tables") - } dbClient = client }