mirror of
https://github.com/containers/podman.git
synced 2025-09-26 00:06:04 +08:00
vendor: update everything
* If possible, update each dependency to the latest available version. * Use releases over commit IDs and avoid vendoring branches. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
4
vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go
generated
vendored
4
vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go
generated
vendored
@ -112,8 +112,8 @@ func generateError(err *C.GError) error {
|
||||
return goErr
|
||||
}
|
||||
|
||||
// isOk wraps a return value (gboolean/gint) into a bool.
|
||||
// isOk wraps a gboolean return value into a bool.
|
||||
// 0 is false/error, everything else is true/ok.
|
||||
func isOk(v C.int) bool {
|
||||
func isOk(v C.gboolean) bool {
|
||||
return glib.GoBool(glib.GBoolean(v))
|
||||
}
|
||||
|
Reference in New Issue
Block a user