Skip to content

Commit

Permalink
chore(healthcare): update practices from deprecated ioutil to os (#4695)
Browse files Browse the repository at this point in the history
  • Loading branch information
alarconesparza authored Dec 11, 2024
1 parent 57de102 commit 1f3a627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions healthcare/hl7v2_message_patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/base64"
"fmt"
"io"
"io/ioutil"
"os"

healthcare "google.golang.org/api/healthcare/v1"
)
Expand All @@ -29,7 +29,7 @@ import (
func patchHL7V2Message(w io.Writer, projectID, location, datasetID, hl7V2StoreID, hl7V2MessageID, messageFile string) error {
ctx := context.Background()

hl7v2message, err := ioutil.ReadFile(messageFile)
hl7v2message, err := os.ReadFile(messageFile)
if err != nil {
return fmt.Errorf("ReadFile: %w", err)
}
Expand Down

0 comments on commit 1f3a627

Please sign in to comment.