Skip to content

Instantly share code, notes, and snippets.

View verdel's full-sized avatar
🏠
Working from home

Vadim Aleksandrov verdel

🏠
Working from home
View GitHub Profile
@verdel
verdel / kh-client.js
Created April 17, 2024 14:56
Remove axios from dependency in kuberhealthy js package
const https = require('https');
const http = require('http');
exports.ReportSuccess = async () => {
const report = newReport([]);
try {
await sendReport(report);
} catch (err) {
const reportErr = new Error("failed to send report: " + err.message);
throw reportErr;

Keybase proof

I hereby claim:

  • I am verdel on github.
  • I am verdel (https://keybase.io/verdel) on keybase.
  • I have a public key ASB_A_5TRegZMhi4QbKrtbS_FAQ6bjWD8Rmha7uN0NbbrQo

To claim this, I am signing this object:

@verdel
verdel / sethclTimeout.sh
Last active February 1, 2018 20:10
Change hardcoded timeout for vSAN health check GetClusterHclInfo method on VMware vCenter Appliance
#!/usr/bin/bash
service-control --stop vmware-vsan-health
if [ -f /usr/lib/vmware-vpx/vsan-health/pyMoVsan/VsanClusterHealthSystemImpl.pyc ] ; then
rm /usr/lib/vmware-vpx/vsan-health/pyMoVsan/VsanClusterHealthSystemImpl.pyc
fi
if [ -f /usr/lib/vmware-vpx/vsan-health/pyMoVsan/VsanVumConnection.pyc ] ; then
rm /usr/lib/vmware-vpx/vsan-health/pyMoVsan/VsanVumConnection.pyc