Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 9851d50

Browse files
Use a valid user name (lowercase) in examples
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
1 parent 87bb12f commit 9851d50

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

e2e/commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ name: app-test
100100
# A short description of the application
101101
description: my cool app
102102
# Namespace to use when pushing to a registry. This is typically your Hub username.
103-
#namespace: myHubUsername
103+
#namespace: myhubusername
104104
# List of application maintainers with name and email for each
105105
maintainers:
106106
- name: bob

e2e/testdata/init-singlefile.dockerapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: tac
66
# A short description of the application
77
description: my cool app
88
# Namespace to use when pushing to a registry. This is typically your Hub username.
9-
#namespace: myHubUsername
9+
#namespace: myhubusername
1010
# List of application maintainers with name and email for each
1111
maintainers:
1212
- name: bob

examples/hello-world/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ name: hello-world
2222
# A short description of the application
2323
description:
2424
# Namespace to use when pushing to a registry. This is typically your Hub username.
25-
#namespace: myHubUsername
25+
#namespace: myhubusername
2626
# List of application maintainers with name and email for each
2727
maintainers:
2828
- name: user

examples/hello-world/hello-world.dockerapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: hello-world
66
# A short description of the application
77
description: "Hello, World!"
88
# Namespace to use when pushing to a registry. This is typically your Hub username.
9-
namespace: myHubUsername
9+
namespace: myhubusername
1010
# List of application maintainers with name and email for each
1111
maintainers:
1212
- name: user

examples/voting-app/voting-app.dockerapp/metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: voting-app
55
# A short description of the application
66
description: "Dogs or cats?"
77
# Namespace to use when pushing to a registry. This is typically your Hub username.
8-
namespace: myHubUsername
8+
namespace: myhubusername
99
# List of application maintainers with name and email for each
1010
maintainers:
1111
- name: user

internal/packager/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ name: {{ .Name }}
192192
# A short description of the application
193193
description: {{ .Description }}
194194
# Namespace to use when pushing to a registry. This is typically your Hub username.
195-
{{ if len .Namespace}}namespace: {{ .Namespace }} {{ else }}#namespace: myHubUsername{{ end }}
195+
{{ if len .Namespace}}namespace: {{ .Namespace }} {{ else }}#namespace: myhubusername{{ end }}
196196
# List of application maintainers with name and email for each
197197
{{ if len .Maintainers }}maintainers:
198198
{{ range .Maintainers }} - name: {{ .Name }}

internal/packager/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ name: writemetadata_test
107107
# A short description of the application
108108
description:
109109
# Namespace to use when pushing to a registry. This is typically your Hub username.
110-
#namespace: myHubUsername
110+
#namespace: myhubusername
111111
# List of application maintainers with name and email for each
112112
maintainers:
113113
- name: bearclaw

types/types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func TestWithAttachmentsIncludingNestedCoreFiles(t *testing.T) {
217217
func TestValidateBrokenMetadata(t *testing.T) {
218218
r := strings.NewReader(`#version: 0.1.0-missing
219219
name: _INVALID-name
220-
namespace: myHubUsername
220+
namespace: myhubusername
221221
maintainers:
222222
- name: user
223223
email: user@email.com

0 commit comments

Comments
 (0)