From 323b51c8be08c40c55583c2545337a90cf8c9ee6 Mon Sep 17 00:00:00 2001 From: Samia Nneji Date: Tue, 5 Apr 2022 20:40:43 +0100 Subject: [PATCH] Fix indentation (#4906) * Fix indentation * Fix more indentation --- .../serving/helloworld-rust/README.md | 10 +++++----- docs/serving/services/creating-services.md | 20 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/code-samples/community/serving/helloworld-rust/README.md b/code-samples/community/serving/helloworld-rust/README.md index 8f9cdc948..0736b0023 100644 --- a/code-samples/community/serving/helloworld-rust/README.md +++ b/code-samples/community/serving/helloworld-rust/README.md @@ -119,11 +119,11 @@ recreate the source files from this folder. spec: template: spec: - containers: - - image: docker.io/{username}/helloworld-rust - env: - - name: TARGET - value: "Rust Sample v1" + containers: + - image: docker.io/{username}/helloworld-rust + env: + - name: TARGET + value: "Rust Sample v1" ``` ## Build and deploy this sample diff --git a/docs/serving/services/creating-services.md b/docs/serving/services/creating-services.md index 9607b9f51..e9dbfaa90 100644 --- a/docs/serving/services/creating-services.md +++ b/docs/serving/services/creating-services.md @@ -25,18 +25,18 @@ Create a sample service: apiVersion: serving.knative.dev/v1 kind: Service metadata: - name: helloworld-go - namespace: default + name: helloworld-go + namespace: default spec: - template: - spec: - containers: - - image: gcr.io/knative-samples/helloworld-go - env: - - name: TARGET - value: "Go Sample v1" + template: + spec: + containers: + - image: gcr.io/knative-samples/helloworld-go + env: + - name: TARGET + value: "Go Sample v1" ``` - + 1. Apply the YAML file by running the command: ```bash