Skip to content

Commit ffe59cb

Browse files
committed
fix(provider/big_query_source): manage sync engine type during creation
1 parent 3078740 commit ffe59cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/provider/big_query_source_model_request.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ func (m *BigQuerySourceModel) ToCreateSourceData(_ context.Context) (cm.CreateSo
1515
},
1616
}
1717

18+
syncEngine := m.SyncEngine.ValueString()
19+
if syncEngine != "" {
20+
body.Connection.SyncEngine.SetTo(syncEngine)
21+
}
22+
1823
label := m.Label.ValueString()
1924
if label != "" {
2025
body.Connection.Label.SetTo(label)

0 commit comments

Comments
 (0)