Skip to content

Commit ea19e45

Browse files
authored
Merge pull request #320 from krancour/gofmt-fixes
fix(style): Apply mandatory formatting fixes
2 parents 8ded714 + fa9c217 commit ea19e45

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

model/model_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func TestBuildBuilderConfig(t *testing.T) {
138138
},
139139
Spec: v1.ServiceSpec{
140140
Ports: []v1.ServicePort{
141-
v1.ServicePort{
141+
{
142142
Name: "ssh",
143143
Port: int32(2222),
144144
TargetPort: intstr.IntOrString{

nginx/config_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ func TestWriteCerts(t *testing.T) {
4444
Key: expectedPlatformKey,
4545
},
4646
AppConfigs: []*model.AppConfig{
47-
&model.AppConfig{
47+
{
4848
Certificates: map[string]*model.Certificate{
49-
"example.com": &model.Certificate{
49+
"example.com": {
5050
Cert: expectedExampleCrt,
5151
Key: expectedExampleKey,
5252
},

0 commit comments

Comments
 (0)