Skip to content

Commit 8bbd587

Browse files
committed
Fix error message
1 parent 88cef2c commit 8bbd587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_diode_plugin/plugin_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _parse_diode_target(target: str) -> tuple[str, str, bool]:
2323
parsed_target = urlparse(target)
2424

2525
if parsed_target.scheme not in ["grpc", "grpcs", "http", "https"]:
26-
raise ValueError("target should start with grpc:// or grpcs:// or http:// or https://")
26+
raise ValueError("target should start with grpc://, grpcs://, http:// or https://")
2727

2828
tls_verify = parsed_target.scheme in ["grpcs", "https"]
2929

0 commit comments

Comments
 (0)