update gofmt

Signed-off-by: yuswift <yuswift2018@gmail.com>
This commit is contained in:
yuswift
2021-07-15 10:10:27 +08:00
parent 8b7a7b3342
commit cd30e6eba5
12 changed files with 25 additions and 25 deletions

View File

@@ -267,7 +267,7 @@ func (c IPAMClient) ReleaseByHandle(handleID string) error {
return err
}
for blockStr, _ := range handle.Spec.Block {
for blockStr := range handle.Spec.Block {
blockName := v1alpha1.ConvertToBlockName(blockStr)
if err := c.releaseByHandle(handleID, blockName); err != nil {
return err