Skip to content

Commit 3698938

Browse files
committed
tlsmirror-bootstrap apply coding style
1 parent c6b0433 commit 3698938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transport/internet/tlsmirror/server/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func (d *persistentMirrorTLSDialer) handleIncomingReadyConnection(conn internet.
264264
func (d *persistentMirrorTLSDialer) Dial(ctx context.Context,
265265
dest net.Destination, settings *internet.MemoryStreamConfig,
266266
) (internet.Connection, error) {
267-
if d.enrollmentServerIdentifier != nil && len(d.enrollmentServerIdentifier) > 0 {
267+
if len(d.enrollmentServerIdentifier) > 0 {
268268
if mirrorcommon.IsLoopbackProtectionEnabled(ctx, d.enrollmentServerIdentifier) {
269269
return nil, newError("loopback protection: refusing to dial to self")
270270
}

0 commit comments

Comments
 (0)