Skip to content

Commit

Permalink
remove io/ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshrijal committed Sep 9, 2023
1 parent fb2b81c commit 3978253
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/resourcemanager/resource/deployment/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"context"
"encoding/json"
"fmt"
"log"
"os"

"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources"
"io/ioutil"
"log"
"os"
)

var (
Expand Down Expand Up @@ -94,7 +94,7 @@ func main() {
}

func readJson(path string) (map[string]interface{}, error) {
templateFile, err := ioutil.ReadFile(path)
templateFile, err := os.ReadFile(path)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 3978253

Please sign in to comment.