Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <[email protected]>
  • Loading branch information
zwwhdls committed Sep 23, 2024
1 parent 39e63f2 commit be6572d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/fuse/grace/grace.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,7 @@ func (p *podUpgrade) waitForUpgrade(ctx context.Context, conn net.Conn) {
}

func (p *podUpgrade) uploadBinary(ctx context.Context) error {
ce := util.ContainSubString(p.pod.Spec.Containers[0].Command, "format")
if ce {
if p.ce {
stdout, stderr, err := p.client.ExecuteInContainer(
ctx,
p.pod.Name,
Expand Down

0 comments on commit be6572d

Please sign in to comment.