File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ func (f *DefaultRPCClientDriverFactory) Close() error {
109109
110110 for _ , openedDriver := range f .openedDrivers {
111111 if err := openedDriver .close (); err != nil {
112- log .Warnf ("Error closing a plugin driver: %s" , err )
112+ // No need to display an error.
113+ // There's nothing we can do and it doesn't add value to the user.
113114 }
114115 }
115116 f .openedDrivers = []* RPCClientDriver {}
@@ -213,14 +214,9 @@ func (c *RPCClientDriver) close() error {
213214 }
214215
215216 log .Debug ("Successfully made call to close driver server" )
216-
217217 log .Debug ("Making call to close connection to plugin binary" )
218218
219- if err := c .plugin .Close (); err != nil {
220- return err
221- }
222-
223- return nil
219+ return c .plugin .Close ()
224220}
225221
226222// Helper method to make requests which take no arguments and return simply a
You can’t perform that action at this time.
0 commit comments