drbd: get_one_status(): Iterate over resource->devices instead of connection->peer_devices

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
1 file changed