Skip to content

Commit

Permalink
fix env and endpoint conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch committed Jul 22, 2024
1 parent cc0455e commit 08e558e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/driver/firebolt.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
[_ {:keys [db]
:or {db ""}
:as details}]
(let [spec {:classname "com.firebolt.FireboltDriver", :subprotocol "firebolt", :subname (str "//api." (System/getProperty "env" "app") ".firebolt.io/" db), :ssl true}]
(let [spec {:classname "com.firebolt.FireboltDriver", :subprotocol "firebolt", :subname db, :ssl true}]
(-> (merge spec (select-keys details [:password :classname :subprotocol :user :subname :additional-options :account :engine_name :env]))
(sql-jdbc.common/handle-additional-options (select-keys details [:password :classname :subprotocol :user :subname :additional-options :account :engine_name :env]))
)))
Expand Down

0 comments on commit 08e558e

Please sign in to comment.