ops array is never being populated. Either we should remove this line, or better still, add the UpdateAppConfigOp objects being created to this array and then add them to the pending_ops list in a single shot.