diff --git a/cmd/registry/main.go b/cmd/registry/main.go index 7bcacc81..5c62d89f 100644 --- a/cmd/registry/main.go +++ b/cmd/registry/main.go @@ -152,6 +152,8 @@ func resolveConfiguration() (*configuration.Configuration, error) { return nil, err } + defer fp.Close() + config, err := configuration.Parse(fp) if err != nil { return nil, fmt.Errorf("error parsing %s: %v", configurationPath, err)