X-Git-Url: https://git.arvados.org/lightning.git/blobdiff_plain/00b2acd54dd1aa412f6f2bddc24b1bbb31c7ae3f..e4839e500e2da73b476f095425c0347ae7c5de97:/vcf2fasta.go diff --git a/vcf2fasta.go b/vcf2fasta.go index 2f840ee73f..3ca18c410f 100644 --- a/vcf2fasta.go +++ b/vcf2fasta.go @@ -1,3 +1,7 @@ +// Copyright (C) The Lightning Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package lightning import ( @@ -471,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) }