mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
parse --publish ports into spec
This commit is contained in:
1 parent
deedbcb8a9
commit
e8908ced9e
4 files changed
+25
-8
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user