You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/14 10:56:26 UTC

[plc4x] 01/02: feat(plc4go/spi): test transport should now properly output the url

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

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

commit b8c4bf24c86a7d7d54121e6a792e30c10d2c7767
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Jun 14 12:53:46 2023 +0200

    feat(plc4go/spi): test transport should now properly output the url
---
 plc4go/spi/transports/test/Transport.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4go/spi/transports/test/Transport.go b/plc4go/spi/transports/test/Transport.go
index c81c3bc00b..d7d55eea8e 100644
--- a/plc4go/spi/transports/test/Transport.go
+++ b/plc4go/spi/transports/test/Transport.go
@@ -60,7 +60,7 @@ func (m *Transport) CreateTransportInstance(transportUrl url.URL, options map[st
 		return nil, errors.New("test transport failed on purpose")
 	}
 	if preregisteredInstance, ok := m.preregisteredInstances[transportUrl]; ok {
-		m.log.Trace().Msgf("Returning pre registered instance for %v", transportUrl)
+		m.log.Trace().Msgf("Returning pre registered instance for %s", &transportUrl)
 		return preregisteredInstance, nil
 	}
 	m.log.Trace().Msg("create transport instance")