File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/webapp/app/v3/eventRepository Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,21 +122,21 @@ export async function getV3EventRepository(
122122async function resolveTaskEventRepositoryFlag (
123123 featureFlags : Record < string , unknown > | undefined
124124) : Promise < "clickhouse" | "clickhouse_v2" | "postgres" > {
125- const flag = await flag ( {
125+ const flagResult = await flag ( {
126126 key : FEATURE_FLAG . taskEventRepository ,
127127 defaultValue : env . EVENT_REPOSITORY_DEFAULT_STORE ,
128128 overrides : featureFlags ,
129129 } ) ;
130130
131- if ( flag === "clickhouse_v2" ) {
131+ if ( flagResult === "clickhouse_v2" ) {
132132 return "clickhouse_v2" ;
133133 }
134134
135- if ( flag === "clickhouse" ) {
135+ if ( flagResult === "clickhouse" ) {
136136 return "clickhouse" ;
137137 }
138138
139- return flag ;
139+ return flagResult ;
140140}
141141
142142export async function recordRunDebugLog (
You can’t perform that action at this time.
0 commit comments