Skip to content

Commit

Permalink
Add a noop -init-driver function to metabase.driver.google
Browse files Browse the repository at this point in the history
A warning is currently shown as we assume that namespace is a
driver. It's used by driver code but is not itself a driver. Added a
noop function so it won't output that warning.
  • Loading branch information
iethree committed Dec 5, 2017
1 parent ba64d25 commit 44e88f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/metabase/driver/google.clj
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,8 @@
(.setTransport http-transport)))
(.setAccessToken access-token)
(.setRefreshToken refresh-token))))

(defn -init-driver
"Nothing to init as this is code used by the google drivers, but is not a driver itself"
[]
true)

0 comments on commit 44e88f0

Please sign in to comment.