diff --git a/client/zfsabstractions_list.go b/client/zfsabstractions_list.go index b8ba646..0b86d7f 100644 --- a/client/zfsabstractions_list.go +++ b/client/zfsabstractions_list.go @@ -63,7 +63,7 @@ func doZabsList(ctx context.Context, sc *cli.Subcommand, args []string) error { defer line.Lock().Unlock() if zabsListFlags.Json { enc.SetIndent("", " ") - if err := enc.Encode(abstractions); err != nil { + if err := enc.Encode(a); err != nil { panic(err) } fmt.Println()