Skip to content

Commit

Permalink
Revert "[COST-4002] remove empty-status as requirement to create prov…
Browse files Browse the repository at this point in the history
…ider (#4575)" (#4781)

This reverts commit 4c0113e.
  • Loading branch information
maskarb authored Nov 15, 2023
1 parent e7162e0 commit 40d9dbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions koku/sources/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def _aws_provider_ready_for_create(provider):
and provider.name
and provider.auth_header
and aws_settings_ready(provider)
and not provider.status
and not provider.koku_uuid
)

Expand All @@ -60,6 +61,7 @@ def _ocp_provider_ready_for_create(provider):
and provider.name
and ocp_settings_ready(provider)
and provider.auth_header
and not provider.status
and not provider.koku_uuid
)

Expand All @@ -85,6 +87,7 @@ def _azure_provider_ready_for_create(provider):
and provider.name
and provider.auth_header
and azure_settings_ready(provider)
and not provider.status
and not provider.koku_uuid
)

Expand All @@ -101,6 +104,7 @@ def _gcp_provider_ready_for_create(provider):
and provider.name
and provider.auth_header
and gcp_settings_ready(provider)
and not provider.status
and not provider.koku_uuid
)

Expand All @@ -117,6 +121,7 @@ def _oci_provider_ready_for_create(provider):
and provider.name
and provider.auth_header
and oci_settings_ready(provider)
and not provider.status
and not provider.koku_uuid
)

Expand Down

0 comments on commit 40d9dbb

Please sign in to comment.