Skip to content

Commit

Permalink
chore(healthcare): update practices from deprecated ioutil to io (#4692)
Browse files Browse the repository at this point in the history
  • Loading branch information
alarconesparza authored Dec 12, 2024
1 parent f9eaaf7 commit 93e9f4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions healthcare/fhir_resource_search_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"context"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"

Expand Down Expand Up @@ -65,7 +64,7 @@ func searchFHIRResourcesGet(w io.Writer, projectID, location, datasetID, fhirSto

defer resp.Body.Close()

respBytes, err := ioutil.ReadAll(resp.Body)
respBytes, err := io.ReadAll(resp.Body)
if err != nil {
return fmt.Errorf("could not read response: %w", err)
}
Expand Down

0 comments on commit 93e9f4a

Please sign in to comment.