examples/client: Fix display of response status
This commit is contained in:
parent
1da23ba07b
commit
867074d81b
@ -162,7 +162,7 @@ func main() {
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("%d %s\n", resp.Status, resp.Meta)
|
fmt.Printf("%d %s\n", resp.Status(), resp.Meta())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user