From 2b5114c1c12008dcc5ef49b7076bb4a4e0f7f8dc Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 31 Mar 2021 13:44:16 +0200 Subject: docs and naming --- skate/cmd/skate-cluster-stats/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'skate/cmd') diff --git a/skate/cmd/skate-cluster-stats/main.go b/skate/cmd/skate-cluster-stats/main.go index 3817b7c..4973b4d 100644 --- a/skate/cmd/skate-cluster-stats/main.go +++ b/skate/cmd/skate-cluster-stats/main.go @@ -33,7 +33,7 @@ func main() { switch *mode { case "unmatched": f = func(p []byte) ([]byte, error) { - var cluster skate.ClusterResult + var cluster skate.ReleaseCluster if err := json.Unmarshal(p, &cluster); err != nil { if *bestEffort { log.Printf("%v", err) @@ -54,7 +54,7 @@ func main() { } case "count": f = func(p []byte) ([]byte, error) { - var cluster skate.ClusterResult + var cluster skate.ReleaseCluster if err := json.Unmarshal(p, &cluster); err != nil { if *bestEffort { log.Printf("%v", err) @@ -75,7 +75,7 @@ func main() { } default: f = func(p []byte) ([]byte, error) { - var cluster skate.ClusterResult + var cluster skate.ReleaseCluster if err := json.Unmarshal(p, &cluster); err != nil { return nil, err } -- cgit v1.2.3