Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lcouzens authored Nov 27, 2024
1 parent b5d169b commit 778109b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions koku/api/provider/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ def create(self, validated_data):
if dup_queryset.count() != 0:
message = (
"Cost management does not allow duplicate accounts. "
"An integration already exists with these details. Edit integration settings to configure a new integration."
"An integration already exists with these details. "
"Edit integration settings to configure a new integration."
)
LOG.warning(message)
raise serializers.ValidationError(error_obj(ProviderErrors.DUPLICATE_AUTH, message))
Expand Down Expand Up @@ -419,7 +420,8 @@ def update(self, instance, validated_data):
if dup_queryset.count() != 0:
message = (
"Cost management does not allow duplicate accounts. "
"An integration already exists with these details. Edit integration settings to configure a new integration."
"An integration already exists with these details. "
"Edit integration settings to configure a new integration."
)
LOG.warning(message)
raise serializers.ValidationError(error_obj(ProviderErrors.DUPLICATE_AUTH, message))
Expand Down

0 comments on commit 778109b

Please sign in to comment.