Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Claus Holbech <[email protected]>
  • Loading branch information
Shivani-gslab and ClausHolbechArista authored Nov 6, 2024
1 parent 024a6ca commit dbb3956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-avd/pyavd/_errors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(

def _as_validation_error(self) -> AvdValidationError:
"""Converting AvdDeprecationWarning to AvdValidationError."""
return AvdValidationError(self.message, self.path.split("."))
return AvdValidationError(message=self.message, path=self.path.split("."))


class AristaAvdDuplicateDataError(AristaAvdError):
Expand Down

0 comments on commit dbb3956

Please sign in to comment.