From 3ca36a9ece0fda89af600ed401db4a3bec71e5a1 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Wed, 28 Apr 2021 20:59:14 +0300 Subject: [PATCH] remove objects (#571) --- src/hooks/usePublish.ts | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/hooks/usePublish.ts b/src/hooks/usePublish.ts index bf0192b3b..b19052d61 100644 --- a/src/hooks/usePublish.ts +++ b/src/hooks/usePublish.ts @@ -82,36 +82,7 @@ function usePublish(): UsePublish { } case 'compute': { if (!timeout) timeout = 3600 - const cluster = ocean.compute.createClusterAttributes( - 'Kubernetes', - 'http://10.0.0.17/xxx' - ) - const servers = [ - ocean.compute.createServerAttributes( - '1', - 'xlsize', - '50', - '16', - '0', - '128gb', - '160gb', - timeout - ) - ] - const containers = [ - ocean.compute.createContainerAttributes( - 'tensorflow/tensorflow', - 'latest', - 'sha256:cb57ecfa6ebbefd8ffc7f75c0f00e57a7fa739578a429b6f72a0df19315deadc' - ) - ] - const provider = ocean.compute.createProviderAttributes( - 'Azure', - 'Compute service with 16gb ram for each node.', - cluster, - containers, - servers - ) + const provider = {} const origComputePrivacy: ServiceComputePrivacy = { allowRawAlgorithm: false, allowNetworkAccess: false,