Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Reload command doing the Dockerfile check unnecessary #45
Browse files Browse the repository at this point in the history
fork/replace prompt package - Warning with node 14, Warning: Accessing non-existent property 'padLevels' #33
  • Loading branch information
martinlevesque committed Jun 1, 2020
1 parent 01e81d4 commit 67a5d4c
Show file tree
Hide file tree
Showing 4 changed files with 759 additions and 103 deletions.
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,8 @@ function processCommander() {
.option("-s <site name>", "Instance site name.")
.description('Reload your container instance')
.action(async function(opts) {

const options = {
};

let envVars = await auth(opts);

await main.checkCurrentRepositoryValid(envVars);

function proc(locationId) {
return require("./modules/instance_operation")("reload", envVars,
{ "location_str_id": locationId});
Expand Down
4 changes: 2 additions & 2 deletions modules/cliConfs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

const API_ENDPOINTS = [
// "http://localhost:3000/global/test/",
// 'http://localhost:3000/global/test/'
'https://api.openode.io/global/test/'
]

Expand All @@ -11,7 +11,7 @@ function normalizeApiUrl (url) {
const confs = {
API_URL: normalizeApiUrl(API_ENDPOINTS[0]),
WS_ADDR: 'wss://api.openode.io/streams'
// "WS_ADDR": "ws://localhost:3000/streams"
// WS_ADDR: 'ws://localhost:3000/streams'
}

async function determineClosestEndpoint () {
Expand Down
Loading

0 comments on commit 67a5d4c

Please sign in to comment.