{"push_id":718112368,"size":1,"distinct_size":1,"ref":"refs/heads/patch-2","head":"9765309d0be33e6f7f0ab5fa8725c24f026954d9","before":"ff0882a8a4a55b1c98bc9471c6d28dbf00f91605","commits":[{"sha":"9765309d0be33e6f7f0ab5fa8725c24f026954d9","author":{"email":"07a99080cb5d523d32a8ac0a2f6b12d80040aa54@gmail.com","name":"LaurentOliva"},"message":"Update2 : vopt_manager.pl\n\nAnother modification i propose.\r\n\r\nIn parse_lsmap function, a key may be erased by the last element found for an lpar.\r\n\r\nExample :\r\n\r\n#command to run on hmc : viosvrcmd -m FRAME -p VIOSERVER2 -c \"mkvdev -fbo -dev LPAR_cdrom -vadapter vhost18\"\r\n\r\nThe script propose to create the cdrom onto the second vio. The existting entry mapped to he first VIO is erased.\r\n\r\nThis is due to the code in parse_lsmap that does not verify if a key is already present in the hashmap.\r\n\r\nWith the modification i propose :\r\n\r\nnext if defined($$refvoptmap{$lparid}{'vios'});\r\n\r\nThe problem do not occur anymore, the cdrom will be created onto the first VIO inserted in the hasmap during the inventory.","distinct":true,"url":"https://api.github.com/repos/LaurentOliva/vopt_manager/commits/9765309d0be33e6f7f0ab5fa8725c24f026954d9"}]}