1
0
mirror of synced 2026-02-13 13:06:56 +00:00

validate that object name adheres to RFC 1123 for flux create commands

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2022-02-16 10:47:20 +01:00
parent 8c2983c958
commit 4a893b13f8
6 changed files with 77 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ func TestCreateSourceGit(t *testing.T) {
{
"NoArgs",
"create source git",
assertError("GitRepository source name is required"),
assertError("name is required"),
nil,
}, {
"Succeeded",