cleanup: fix errors in wrapped format and log capitalization in proxy
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
This commit is contained in:
@@ -480,10 +480,10 @@ func (proxier *Proxier) addServiceOnPortInternal(service proxy.ServicePortName,
|
||||
|
||||
func (proxier *Proxier) cleanupPortalAndProxy(serviceName proxy.ServicePortName, info *ServiceInfo) error {
|
||||
if err := proxier.closePortal(serviceName, info); err != nil {
|
||||
return fmt.Errorf("Failed to close portal for %q: %v", serviceName, err)
|
||||
return fmt.Errorf("failed to close portal for %q: %w", serviceName, err)
|
||||
}
|
||||
if err := proxier.stopProxy(serviceName, info); err != nil {
|
||||
return fmt.Errorf("Failed to stop service %q: %v", serviceName, err)
|
||||
return fmt.Errorf("failed to stop service %q: %w", serviceName, err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user