Skip to content

Commit

Permalink
Fix socket fd leakage
Browse files Browse the repository at this point in the history
Longhorn 6287

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit authored and David Ko committed Jul 11, 2023
1 parent 2197626 commit 83197d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engineapi/instance_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (c *InstanceManagerClient) Close() error {
}

if c.diskServiceGrpcClient != nil {
err = multierr.Append(err, c.instanceServiceGrpcClient.Close())
err = multierr.Append(err, c.diskServiceGrpcClient.Close())
}

if c.instanceServiceGrpcClient != nil {
Expand Down

0 comments on commit 83197d8

Please sign in to comment.