Skip to content

Commit

Permalink
chore: use abs import in the example test cases
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Dec 25, 2023
1 parent f072fe9 commit fc0ddd8
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/abstraction/docker_compose_render.k
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import manifests

import .app
import app

# Convert the `App` model into the docker compose config.
dockerComposeRender = lambda a: app.App {
Expand Down
2 changes: 1 addition & 1 deletion examples/abstraction/kubernetes_render.k
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import manifests

import .app
import app

# Convert the `App` model into Kubernetes Deployment and Service Manifests
kubernetesRender = lambda a: app.App {
Expand Down
2 changes: 1 addition & 1 deletion examples/abstraction/kubernetes_render_test.k
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import manifests

import .app
import app

# Convert the `App` model into Kubernetes Deployment and Service Manifests
test_kubernetesRender = lambda {
Expand Down
2 changes: 1 addition & 1 deletion examples/abstraction/main.k
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import .app
import app

app.App {
name = "app"
Expand Down
2 changes: 1 addition & 1 deletion examples/definition/main.k
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import .app_module # A relative path import
import app_module # A relative path import

app: app_module.App {
domainType = "Standard"
Expand Down
Empty file added examples/gitops/config/kcl.mod
Empty file.
2 changes: 1 addition & 1 deletion examples/gitops/config/kubernetes_render.k
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import manifests

import .app
import app

# Convert the `App` model into Kubernetes Deployment and Service Manifests
kubernetesRender = lambda a: app.App {
Expand Down
2 changes: 1 addition & 1 deletion examples/gitops/config/main.k
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import .app
import app

config = app.App {
name = "kcl-guestbook-ui"
Expand Down

0 comments on commit fc0ddd8

Please sign in to comment.