Update gitlab 8 to 10 migration support patch

This commit is contained in:
Pirate Praveen 2018-06-25 19:16:31 +05:30
parent d767532b4e
commit 7669270580

View file

@ -13,7 +13,7 @@ index 0abae70c443..e4ff8261120 100644
+ # If the features table does not exist, don't check the feature, just return
+ # the default
+ unless Feature::FlipperFeature.table_exists?
+ return (status == MigrationStatus::OPT_OUT) || opt_into_all_features?
+ return false
+ end
+
feature = Feature.get("gitaly_#{feature_name}")