Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kubernetes-probes

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kubernetes-probes - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

kubernetes-probes-0.2.1.tgz

12

app.js

@@ -8,3 +8,3 @@ 'use strict';

var livenessFunctions = [];
var readinessState = null;
var readinessState = false;

@@ -76,14 +76,12 @@ module.exports = {

});
} else if (readinessState !== null) {
} else {
if (readinessState == true) {
res.header("Content-Type", "text/plain");
res.status(200);
res.send(JSON.stringify(results));
res.send("ready");
}else {
res.header("Content-Type", "text/plain");
res.status(400);
res.send(JSON.stringify(results));
res.send("not ready");
}
} else {
res.status(400);
res.send("no readiness functions defined.");
}

@@ -90,0 +88,0 @@ });

{
"name": "kubernetes-probes",
"version": "0.2.0",
"version": "0.2.1",
"description": "Listener for health probes from kubernetes.",

@@ -5,0 +5,0 @@ "private": false,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc