parse --publish ports into spec

This commit is contained in:
Pavel Sviderski committed 2024-12-10 17:57:26 +10:00
1 parent deedbcb8a9
commit e8908ced9e
4 files changed
+25 -8

No files matched your search

+1 -1
View File
@@ -430,7 +430,7 @@ func TestPortSpec_Validate(t *testing.T) {
ContainerPort: 8080,
Protocol: "invalid",
},
wantErr: "invalid protocol: 'invalid'",
wantErr: "invalid protocol 'invalid'",
},
{
name: "invalid mode",