Skip to content

Commit c559f42

Browse files
committed
revert gofmted files
1 parent 6b004b7 commit c559f42

File tree

21 files changed

+4
-57
lines changed

21 files changed

+4
-57
lines changed

cmd/skaffold/app/exitcode.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package app
1817

1918
import (

cmd/skaffold/app/exitcode_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package app
1817

1918
import (

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ require (
4646
github.com/golang/glog v1.0.0
4747
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
4848
github.com/golang/protobuf v1.5.2
49-
github.com/google/go-cmp v0.5.7
49+
github.com/google/go-cmp v0.5.8
5050
github.com/google/go-containerregistry v0.8.1-0.20220209165246-a44adc326839
5151
github.com/google/go-github v17.0.0+incompatible
5252
github.com/google/ko v0.11.2

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
11661166
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
11671167
github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
11681168
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
1169+
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
1170+
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
11691171
github.com/google/go-containerregistry v0.0.0-20191010200024-a3d713f9b7f8/go.mod h1:KyKXa9ciM8+lgMXwOVsXi7UxGrsf9mM61Mzs+xKUrKE=
11701172
github.com/google/go-containerregistry v0.1.2/go.mod h1:GPivBPgdAyd2SU+vf6EpsgOtWDuPqjW0hJZt4rNdTZ4=
11711173
github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0=

integration/deploy_cloudrun_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package integration
1817

1918
import (

pkg/diag/version/version.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package version
1817

1918
import (

pkg/skaffold/build/kaniko/args_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package kaniko
1817

1918
import (

pkg/skaffold/deploy/cloudrun/accessor.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import (

pkg/skaffold/deploy/cloudrun/accessor_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import (

pkg/skaffold/deploy/cloudrun/cloudrun.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import "fmt"

pkg/skaffold/deploy/cloudrun/deploy.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import (

pkg/skaffold/deploy/cloudrun/deploy_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
77
8-
http://www.apache.org/licenses/LICENSE-2.0
8+
http://www.apache.org/licenses/LICENSE-2.0
99
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import (

pkg/skaffold/deploy/cloudrun/status_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package cloudrun
1817

1918
import (

pkg/skaffold/filemon/changes_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package filemon
1817

1918
import (

pkg/skaffold/render/renderer/kpt/kpt_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package kpt
1817

1918
import (

pkg/skaffold/render/renderer/kubectl/kubectl_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package kubectl
1817

1918
import (

pkg/skaffold/render/transform/transform_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package transform
1817

1918
import (

pkg/skaffold/render/validate/validate.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package validate
1817

1918
import (

pkg/skaffold/render/validate/validate_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package validate
1817

1918
import (

pkg/skaffold/schema/util/yaml.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package util
1817

1918
import (

pkg/skaffold/sync/sync_test.go

-37
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
package sync
1817

1918
import (
@@ -748,42 +747,6 @@ func TestNewSyncItem(t *testing.T) {
748747
Delete: nil,
749748
},
750749
},
751-
752-
// Infer with Ko
753-
{
754-
description: "infer: ko static assets",
755-
artifact: &latest.Artifact{
756-
ArtifactType: latest.ArtifactType{
757-
KoArtifact: &latest.KoArtifact{},
758-
},
759-
ImageName: "test",
760-
Sync: &latest.Sync{
761-
Infer: []string{"kodata/**/*"},
762-
},
763-
},
764-
builds: []graph.Artifact{{
765-
ImageName: "test",
766-
Tag: "test:123",
767-
}},
768-
evt: filemon.Events{
769-
Added: []string{filepath.Join("kodata", "foo", "bar.html")},
770-
Modified: []string{
771-
filepath.Join("kodata", "frob", "baz.js"),
772-
"main.go",
773-
},
774-
Deleted: []string{filepath.Join("kodata", "corge", "grault.css")},
775-
},
776-
expected: &Item{
777-
Image: "test:123",
778-
Copy: map[string][]string{
779-
filepath.Join("kodata", "foo", "bar.html"): {"/var/run/ko/foo/bar.html"},
780-
filepath.Join("kodata", "frob", "baz.js"): {"/var/run/ko/frob/baz.js"},
781-
},
782-
Delete: map[string][]string{
783-
filepath.Join("kodata", "corge", "grault.css"): {"/var/run/ko/corge/grault.css"},
784-
},
785-
},
786-
},
787750
}
788751
for _, test := range tests {
789752
testutil.Run(t, test.description, func(t *testutil.T) {

0 commit comments

Comments
 (0)