Skip to content

Commit 3948c51

Browse files
Remove debug.PrintStack()
1 parent 5bd2e07 commit 3948c51

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/gce-pd-csi-driver/controller.go

-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"context"
1919
"fmt"
2020
"math/rand"
21-
"runtime/debug"
2221
"sort"
2322
"strings"
2423
"time"
@@ -412,13 +411,11 @@ func (gceCS *GCEControllerServer) ControllerPublishVolume(ctx context.Context, r
412411
}
413412

414413
resp, err := gceCS.executeControllerPublishVolume(ctx, req)
415-
debug.PrintStack()
416414
if err != nil {
417415
klog.Infof("For node %s adding backoff due to error for volume %s: %v", req.NodeId, req.VolumeId, err.Error())
418416
gceCS.errorBackoff.next(backoffId)
419417
} else {
420418
klog.Infof("For node %s clear backoff due to successful publish of volume %v", req.NodeId, req.VolumeId)
421-
debug.PrintStack()
422419
gceCS.errorBackoff.reset(backoffId)
423420
}
424421
return resp, err

0 commit comments

Comments
 (0)