Skip to content

Commit b680b8f

Browse files
committed
repositories: update embedded files to use YAML
Switch from JSON to YAML for embedded repository files.
1 parent 6fc836b commit b680b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

data/repositories/repos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import (
44
"embed"
55
)
66

7-
//go:embed *.json
7+
//go:embed *.yaml
88
var FS embed.FS

test/data/repositories/testrepos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/osbuild/images/pkg/reporegistry"
88
)
99

10-
//go:embed *.json
10+
//go:embed *.yaml
1111
var FS embed.FS
1212

1313
func New() (*reporegistry.RepoRegistry, error) {

0 commit comments

Comments
 (0)