A common diabetes medication has been in short supply.