Skip to content

Commit

Permalink
Attempting to fix #412
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed May 4, 2016
1 parent 88c9516 commit 2ec0d49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caravel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,7 @@ def sync_to_db(cls, name, cluster):
else:
flasher("Refreshing datasource [{}]".format(name), "info")
datasource.cluster = cluster
session.flush()

cols = datasource.latest_metadata()
if not cols:
Expand Down

0 comments on commit 2ec0d49

Please sign in to comment.