diff --git a/koku/providers/gcp/provider.py b/koku/providers/gcp/provider.py index cb792c775c..13f4dd8607 100644 --- a/koku/providers/gcp/provider.py +++ b/koku/providers/gcp/provider.py @@ -58,8 +58,8 @@ def update_source_data_source(self, data_source): source_query = Sources.objects.filter(billing_source__data_source__dataset=data_source.get("dataset")) for source in source_query: if source.billing_source.get("data_source") != data_source: - source.billing_source = {"data_source": data_source} - source.save() + source_filter = Sources.objects.filter(source_id=source.source_id) + source_filter.update(billing_source={"data_source": data_source}) provider_uuid = source.koku_uuid provider = Provider.objects.filter(uuid=provider_uuid).first()