From 2d299fd2f9ba6483370c0a2ac0acd0c575a68e43 Mon Sep 17 00:00:00 2001 From: Elad Cohen Date: Wed, 29 May 2024 19:19:08 +0300 Subject: [PATCH] wip --- containers/helm.extern.d.ts | 5 +++-- containers/package-lock.json | 4 ++-- containers/package.json | 2 +- containers/workload.w | 3 --- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/containers/helm.extern.d.ts b/containers/helm.extern.d.ts index b5ee8be5..f505ad64 100644 --- a/containers/helm.extern.d.ts +++ b/containers/helm.extern.d.ts @@ -207,8 +207,9 @@ export class ApiObjectMetadataDefinition { readonly addLabel: (key: string, value: string) => void; /** Add an owner. */ readonly addOwnerReference: (owner: OwnerReference) => void; - /** @returns a value of a label or undefined */ - readonly getLabel: (key: string) => string | void; + /** + @returns a value of a label or undefined */ + readonly getLabel: (key: string) => (string) | undefined; /** The name of the API object. If a name is specified in `metadata.name` this will be the name returned. Otherwise, a name will be generated by calling diff --git a/containers/package-lock.json b/containers/package-lock.json index 1e9e7147..891c3a8b 100644 --- a/containers/package-lock.json +++ b/containers/package-lock.json @@ -1,12 +1,12 @@ { "name": "@winglibs/containers", - "version": "0.1.2", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/containers", - "version": "0.1.2", + "version": "0.1.0", "license": "MIT", "peerDependencies": { "@cdktf/provider-aws": "^19.12.0", diff --git a/containers/package.json b/containers/package.json index 0f9bee42..5d9a60d4 100644 --- a/containers/package.json +++ b/containers/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/containers", - "version": "0.1.2", + "version": "0.1.1", "description": "Container support for Wing", "repository": { "type": "git", diff --git a/containers/workload.w b/containers/workload.w index 89de8e30..123107a8 100644 --- a/containers/workload.w +++ b/containers/workload.w @@ -17,9 +17,6 @@ pub class Workload impl api.IWorkload { inner: api.IWorkload; new(props: api.WorkloadProps) { - nodeof(this).icon = "cpu-chip"; - nodeof(this).color = "cyan"; - let target = util.env("WING_TARGET"); if target == "sim" {