Skip to content

Commit

Permalink
lintrest
Browse files Browse the repository at this point in the history
  • Loading branch information
tcz001 committed Oct 1, 2019
1 parent 6100f03 commit c909e4d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions azurerm/resource_arm_storage_filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ import (
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/datalakestore/filesystems"
)

var (
maxrst = int32(1000)
)

func resourceArmStorageFilesystem() *schema.Resource {
return &schema.Resource{
Create: resourceArmStorageFilesystemCreate,
Expand Down Expand Up @@ -236,7 +232,7 @@ func createIfNotExists(ctx context.Context, filesystemClient *filesystems.Client
}

func drainRespBody(resp *http.Response) {
io.Copy(ioutil.Discard, resp.Body)
_, _ = io.Copy(ioutil.Discard, resp.Body)
resp.Body.Close()
}

Expand Down

0 comments on commit c909e4d

Please sign in to comment.