You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2021/08/30 10:15:52 UTC

[plc4x] branch s7event updated: Added "Option" to the name some of the DiscoveryOption types

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch s7event
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/s7event by this push:
     new 1cd8f29  Added "Option" to the name some of the DiscoveryOption types
1cd8f29 is described below

commit 1cd8f29d9a9869e7832ff21d3b36aeb2d0390535
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Aug 30 03:15:46 2021 -0700

    Added "Option" to the name some of the DiscoveryOption types
---
 plc4go/pkg/plc4go/model/plc_discovery.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plc4go/pkg/plc4go/model/plc_discovery.go b/plc4go/pkg/plc4go/model/plc_discovery.go
index 107221c..e39f1e2 100644
--- a/plc4go/pkg/plc4go/model/plc_discovery.go
+++ b/plc4go/pkg/plc4go/model/plc_discovery.go
@@ -51,19 +51,19 @@ func WithDiscoveryOptionTransport(transportName string) WithDiscoveryOption {
 	}
 }
 
-func WithDiscoveryDeviceName(deviceName string) WithDiscoveryOption {
+func WithDiscoveryOptionDeviceName(deviceName string) WithDiscoveryOption {
 	return discoveryOptionDeviceName{
 		deviceName: deviceName,
 	}
 }
 
-func WithDiscoveryLocalAddress(localAddress string) WithDiscoveryOption {
+func WithDiscoveryOptionLocalAddress(localAddress string) WithDiscoveryOption {
 	return discoveryOptionLocalAddress{
 		localAddress: localAddress,
 	}
 }
 
-func WithDiscoveryRemoteAddress(remoteAddress string) WithDiscoveryOption {
+func WithDiscoveryOptionRemoteAddress(remoteAddress string) WithDiscoveryOption {
 	return discoveryOptionRemoteAddress{
 		remoteAddress: remoteAddress,
 	}