Use native client to read annotations.csv.
[lightning.git] / vcf2fasta.go
index e1a3a3944ebfbbf1d77fce5e6dd6f95b8fb9c323..3ca18c410f078f1af1395a3b8034fc2db536cbfa 100644 (file)
@@ -475,7 +475,7 @@ func (cmd *vcf2fasta) loadRegionsPy() error {
                if resp.StatusCode != http.StatusOK {
                        return fmt.Errorf("get %q: http status %d", cmd.gvcfRegionsPy, resp.StatusCode)
                }
-               buf, err := ioutil.ReadAll(resp.Body)
+               buf, err := io.ReadAll(resp.Body)
                if err != nil {
                        return fmt.Errorf("get %q: read body: %s", cmd.gvcfRegionsPy, err)
                }