fix: don't close stdout (#4926)

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Elio Bischof 2023-02-17 11:40:42 +01:00 committed by GitHub
parent 15e62813ed
commit 758074beff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,8 +110,8 @@ func (mig *FirstInstance) Execute(ctx context.Context) error {
if err != nil {
return err
}
}
defer f.Close()
}
keyDetails, err := key.Detail()
if err != nil {