Skip to content

Commit

Permalink
pkg/kubelet/remote/remote_runtime.go:fix the incorrect klog comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjunchen committed Apr 20, 2020
1 parent 32540b0 commit 21039d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubelet/remote/remote_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func (r *RemoteRuntimeService) Attach(req *runtimeapi.AttachRequest) (*runtimeap

if resp.Url == "" {
errorMessage := "URL is not set"
klog.Errorf("Exec failed: %s", errorMessage)
klog.Errorf("Attach failed: %s", errorMessage)
return nil, errors.New(errorMessage)
}
return resp, nil
Expand All @@ -415,7 +415,7 @@ func (r *RemoteRuntimeService) PortForward(req *runtimeapi.PortForwardRequest) (

if resp.Url == "" {
errorMessage := "URL is not set"
klog.Errorf("Exec failed: %s", errorMessage)
klog.Errorf("PortForward failed: %s", errorMessage)
return nil, errors.New(errorMessage)
}

Expand Down

0 comments on commit 21039d5

Please sign in to comment.