update error messages

This commit is contained in:
aler9 2021-09-27 10:43:48 +02:00 committed by Alessandro Ros
parent 6921a402d1
commit b748e6d0ff
6 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ func (d *SourceProtocol) UnmarshalJSON(b []byte) error {
case "automatic":
default:
return fmt.Errorf("unsupported protocol '%s'", in)
return fmt.Errorf("invalid protocol '%s'", in)
}
return nil