mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-18 08:26:38 +02:00
fix: close dockerfile (#2703)
This commit is contained in:
parent
b1e58a1fe8
commit
186b8351dc
@ -32,6 +32,7 @@ func (d *Builder) Build(s *build.Source) (*build.Package, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
// read docker file
|
// read docker file
|
||||||
by, err := io.ReadAll(f)
|
by, err := io.ReadAll(f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user