@@ -326,14 +326,14 @@ func (d *Driver) GetState() (state.State, error) {
326326// Start a host
327327func (d * Driver ) Start () error {
328328 log .Debug ("Start..." )
329- _ , err := d .getClient ().BootInstance (context .TODO (), d .InstanceID , 0 )
329+ err := d .getClient ().BootInstance (context .TODO (), d .InstanceID , 0 )
330330 return err
331331}
332332
333333// Stop a host gracefully
334334func (d * Driver ) Stop () error {
335335 log .Debug ("Stop..." )
336- _ , err := d .getClient ().ShutdownInstance (context .TODO (), d .InstanceID )
336+ err := d .getClient ().ShutdownInstance (context .TODO (), d .InstanceID )
337337 return err
338338}
339339
@@ -356,14 +356,14 @@ func (d *Driver) Remove() error {
356356// have any special restart behaviour.
357357func (d * Driver ) Restart () error {
358358 log .Debug ("Restarting..." )
359- _ , err := d .getClient ().RebootInstance (context .TODO (), d .InstanceID , 0 )
359+ err := d .getClient ().RebootInstance (context .TODO (), d .InstanceID , 0 )
360360 return err
361361}
362362
363363// Kill stops a host forcefully
364364func (d * Driver ) Kill () error {
365365 log .Debug ("Killing..." )
366- _ , err := d .getClient ().ShutdownInstance (context .TODO (), d .InstanceID )
366+ err := d .getClient ().ShutdownInstance (context .TODO (), d .InstanceID )
367367 return err
368368}
369369
0 commit comments