We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ded714 + fa9c217 commit ea19e45Copy full SHA for ea19e45
model/model_test.go
@@ -138,7 +138,7 @@ func TestBuildBuilderConfig(t *testing.T) {
138
},
139
Spec: v1.ServiceSpec{
140
Ports: []v1.ServicePort{
141
- v1.ServicePort{
+ {
142
Name: "ssh",
143
Port: int32(2222),
144
TargetPort: intstr.IntOrString{
nginx/config_test.go
@@ -44,9 +44,9 @@ func TestWriteCerts(t *testing.T) {
44
Key: expectedPlatformKey,
45
46
AppConfigs: []*model.AppConfig{
47
- &model.AppConfig{
48
Certificates: map[string]*model.Certificate{
49
- "example.com": &model.Certificate{
+ "example.com": {
50
Cert: expectedExampleCrt,
51
Key: expectedExampleKey,
52
0 commit comments