Skip to content

Commit 490046c

Browse files
authored
Merge pull request #1134 from sunnylovestiramisu/remove
Remove debug.PrintStack()
2 parents ebaa88a + 7b99b16 commit 490046c

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
@@ -19,7 +19,6 @@ import (
1919
"fmt"
2020
"math/rand"
2121
"regexp"
22-
"runtime/debug"
2322
"sort"
2423
"time"
2524

@@ -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)