Skip to content

Commit 5b4ebb8

Browse files
Copilotpjohnst5
andcommitted
Fix linting errors - remove trailing whitespace
Co-authored-by: pjohnst5 <[email protected]>
1 parent 5169cb0 commit 5b4ebb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cns/hnsclient/hnsclient_windows.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ func configureHostNCApipaEndpoint(
540540

541541
endpoint.IpConfigurations = append(endpoint.IpConfigurations, ipConfiguration)
542542

543-
logger.Printf("[Azure CNS] Configured HostNCApipaEndpoint with ID: %s, Name: %s, Network: %s",
543+
logger.Printf("[Azure CNS] Configured HostNCApipaEndpoint with ID: %s, Name: %s, Network: %s",
544544
endpoint.Id, endpoint.Name, endpoint.HostComputeNetwork)
545545
logger.Printf("[Azure CNS] Endpoint IpConfigurations:%v, Dns:%v, Routes:%v, MacAddress:%s, Flags:%d",
546546
endpoint.IpConfigurations, endpoint.Dns, endpoint.Routes, endpoint.MacAddress, endpoint.Flags)
@@ -680,13 +680,13 @@ func deleteEndpointByNameHnsV2(
680680
}
681681

682682
if err = endpoint.Delete(); err != nil {
683-
return fmt.Errorf("Failed to delete endpoint: %s (%s). Error: %v",
683+
return fmt.Errorf("Failed to delete endpoint: %s (%s). Error: %v",
684684
endpoint.Name, endpoint.Id, err)
685685
}
686686

687-
logger.Errorf("[Azure CNS] Successfully deleted endpoint with ID: %s, Name: %s",
687+
logger.Errorf("[Azure CNS] Successfully deleted endpoint with ID: %s, Name: %s",
688688
endpoint.Id, endpoint.Name)
689-
logger.Debugf("[Azure CNS] Endpoint details - IpConfigurations:%v, Dns:%v, Routes:%v, MacAddress:%s, Flags:%d",
689+
logger.Debugf("[Azure CNS] Endpoint details - IpConfigurations:%v, Dns:%v, Routes:%v, MacAddress:%s, Flags:%d",
690690
endpoint.IpConfigurations, endpoint.Dns, endpoint.Routes, endpoint.MacAddress, endpoint.Flags)
691691

692692
return nil

0 commit comments

Comments
 (0)