mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 11:33:33 +00:00
parse --publish ports into spec
This commit is contained in:
@@ -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