Skip to content

Commit

Permalink
Adjust wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Southparkfan committed Nov 30, 2023
1 parent fdeb100 commit 5974e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vnet_manager/config/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def validate_interface_config(self, machine: str):
elif isinstance(int_vals["mac"], int):
logger.error(
f"MAC {int_vals['mac']} for interface {int_name} on machine {machine} was parsed as a sexagesimal integer. "
"Please wrap the MAC address between 'quotes'"
"Please wrap the MAC address in 'quotes'"
)
self._all_ok = False
# From: https://stackoverflow.com/a/7629690/8632038
Expand Down
2 changes: 1 addition & 1 deletion vnet_manager/tests/config/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_validate_interface_config_sexagesimal_mac_address(self):
self.validator.validate_interface_config("router100")
self.assertFalse(self.validator.config_validation_successful)
self.logger.error.assert_called_once_with(
f"MAC 33212743741 for interface eth12 on machine router100 was parsed as a sexagesimal integer. Please wrap the MAC address between 'quotes'"
f"MAC 33212743741 for interface eth12 on machine router100 was parsed as a sexagesimal integer. Please wrap the MAC address in 'quotes'"
)

def test_validate_interface_config_invalid_mac_address(self):
Expand Down

0 comments on commit 5974e86

Please sign in to comment.