aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-03-31 13:44:16 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-03-31 13:44:16 +0200
commit2b5114c1c12008dcc5ef49b7076bb4a4e0f7f8dc (patch)
treee0e5c97de5e9485ad3e6049894b2d9a7bc2eeacd /skate/cmd
parentd66476fac43c83925a6d8a2fe40bf334dcb4331d (diff)
downloadrefcat-2b5114c1c12008dcc5ef49b7076bb4a4e0f7f8dc.tar.gz
refcat-2b5114c1c12008dcc5ef49b7076bb4a4e0f7f8dc.zip
docs and naming
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-cluster-stats/main.go6
1 files changed, 3 insertions, 3 deletions
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
}