File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/server/src/services Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,6 @@ export const getDockerResourceType = async (
254
254
serverId ?: string ,
255
255
) => {
256
256
try {
257
- console . log ( "resourceName" , resourceName ) ;
258
257
let result = "" ;
259
258
const command = `
260
259
RESOURCE_NAME="${ resourceName } "
@@ -266,19 +265,13 @@ else
266
265
echo "unknown"
267
266
fi` ;
268
267
269
- console . log ( "command" , command ) ;
270
-
271
268
if ( serverId ) {
272
269
const { stdout } = await execAsyncRemote ( serverId , command ) ;
273
270
result = stdout . trim ( ) ;
274
271
} else {
275
272
const { stdout } = await execAsync ( command ) ;
276
273
result = stdout . trim ( ) ;
277
274
}
278
- console . log ( "result" , result ) ;
279
- console . log ( "final result2 " , result . length ) ;
280
-
281
- console . log ( "fin" ) ;
282
275
if ( result === "service" ) {
283
276
return "service" ;
284
277
}
@@ -297,7 +290,6 @@ export const reloadDockerResource = async (
297
290
serverId ?: string ,
298
291
) => {
299
292
const resourceType = await getDockerResourceType ( resourceName , serverId ) ;
300
- console . log ( "resourceType" , resourceType ) ;
301
293
let command = "" ;
302
294
if ( resourceType === "service" ) {
303
295
command = `docker service update --force ${ resourceName } ` ;
You can’t perform that action at this time.
0 commit comments