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

Commit

Permalink
more duplicate symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb committed Nov 3, 2023
1 parent bff7002 commit f6e1b03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/containers",
"version": "0.0.3",
"version": "0.0.4",
"description": "Wing container support",
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion sim-workload.w → workload.sim.w
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bring sim;
bring "./api.w" as api;
bring "./utils.w" as utils;

pub class Workload impl api.IWorkload {
pub class Workload_sim impl api.IWorkload {
containerId: str;
publicUrlKey: str?;
internalUrlKey: str?;
Expand Down
2 changes: 1 addition & 1 deletion tfaws-workload.w → workload.tfaws.w
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ bring "./utils.w" as utils;
bring "@cdktf/provider-kubernetes" as k8s;
bring "@cdktf/provider-helm" as helm;

pub class Workload impl api.IWorkload {
pub class Workload_tfaws impl api.IWorkload {
internalUrl: str?;
publicUrl: str?;

Expand Down
8 changes: 4 additions & 4 deletions workload.w
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bring util;
bring "./sim-workload.w" as sim;
bring "./tfaws-workload.w" as aws;
bring "./workload.sim.w" as sim;
bring "./workload.tfaws.w" as tfaws;
bring "./api.w" as api;
bring "./utils.w" as utils;

Expand All @@ -13,9 +13,9 @@ pub class Workload impl api.IWorkload {
let target = util.env("WING_TARGET");

if target == "sim" {
this.inner = new sim.Workload(props) as "sim";
this.inner = new sim.Workload_sim(props) as "sim";
} elif target == "tf-aws" {
this.inner = new aws.Workload(props) as "tf-aws";
this.inner = new tfaws.Workload_tfaws(props) as "tf-aws";
} else {
throw "unsupported target ${target}";
}
Expand Down

0 comments on commit f6e1b03

Please sign in to comment.