We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83c3c2 commit f72f52aCopy full SHA for f72f52a
sdk/js/src/index.ts
@@ -239,12 +239,10 @@ export interface TlsKeyOptions {
239
240
export class DstackClient {
241
private endpoint: string
242
- private logger: Console
243
244
constructor(endpoint: string = '/var/run/dstack.sock') {
245
- this.logger = console
246
if (process.env.DSTACK_SIMULATOR_ENDPOINT) {
247
- this.logger.debug(`Using simulator endpoint: ${process.env.DSTACK_SIMULATOR_ENDPOINT}`)
+ console.warn(`Using simulator endpoint: ${process.env.DSTACK_SIMULATOR_ENDPOINT}`)
248
endpoint = process.env.DSTACK_SIMULATOR_ENDPOINT
249
}
250
this.endpoint = endpoint
0 commit comments