Make push_inventory() a regular function

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>