Browse Source

Fix a daemon build error when cgo isn't available

Avoid duplicate definitions of NewSqliteConn when cgo isn't enabled, so
that we can at least build the daemon.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
Nalin Dahyabhai 10 years ago
parent
commit
00ab6d9d47
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pkg/graphdb/conn_sqlite3.go

+ 2 - 0
pkg/graphdb/conn_sqlite3.go

@@ -1,3 +1,5 @@
+// +build cgo
+
 package graphdb
 
 import "database/sql"