Skip to content

Commit cc1bb5a

Browse files
mariashebroberson
authored andcommitted
Remove extra formatting for staticcheck
1 parent ce3c181 commit cc1bb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local_driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (d *LocalDriver) Remove(env dockerdriver.Env, removeRequest dockerdriver.Re
205205
var vol *LocalVolumeInfo
206206
var exists bool
207207
if vol, exists = d.volumes[removeRequest.Name]; !exists {
208-
logger.Error("failed-volume-removal", fmt.Errorf(fmt.Sprintf("Volume %s not found", removeRequest.Name)))
208+
logger.Error("failed-volume-removal", fmt.Errorf("Volume %s not found", removeRequest.Name))
209209
return dockerdriver.ErrorResponse{Err: fmt.Sprintf("Volume '%s' not found", removeRequest.Name)}
210210
}
211211

0 commit comments

Comments
 (0)