aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/cmd/skate-conv/main.go2
-rw-r--r--skate/cmd/skate-reduce/main.go8
-rw-r--r--skate/schema_test.go2
3 files changed, 6 insertions, 6 deletions
diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go
index 4a33473..27f09e2 100644
--- a/skate/cmd/skate-conv/main.go
+++ b/skate/cmd/skate-conv/main.go
@@ -98,7 +98,7 @@ func openLibraryToRelease(p []byte) ([]byte, error) {
if err = json.Unmarshal(p, &w); err != nil {
return nil, err
}
- if release, err = skate.OpenLibraryToRelease(&w); err != nil {
+ if release, err = skate.OpenLibraryWorkToRelease(&w); err != nil {
return nil, err
}
release.Extra.Skate.Status = "ol"
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go
index 9c87a35..f26bdf7 100644
--- a/skate/cmd/skate-reduce/main.go
+++ b/skate/cmd/skate-reduce/main.go
@@ -149,10 +149,10 @@ func main() {
log.Fatal(err)
}
case "olmerge":
- e, w, err := xio.OpenTwo(*openLibraryEditions, *openLibraryWorks)
- if err != nil {
- log.Fatal(err)
- }
+ // e, w, err := xio.OpenTwo(*openLibraryEditions, *openLibraryWorks)
+ // if err != nil {
+ // log.Fatal(err)
+ // }
default:
log.Fatalf("invalid mode")
}
diff --git a/skate/schema_test.go b/skate/schema_test.go
index 56d2d5b..ecc46c6 100644
--- a/skate/schema_test.go
+++ b/skate/schema_test.go
@@ -123,7 +123,7 @@ func TestOpenLibraryToRelease(t *testing.T) {
},
}
for _, c := range cases {
- r, err := OpenLibraryToRelease(&c.work)
+ r, err := OpenLibraryWorkToRelease(&c.work)
if err != nil {
t.Fatalf("got %v, want %v", err, c.err)
}