Merge pull request #118066 from BenTheElder/yamlfmt-cleanup

yamlfmt cleanup
This commit is contained in:
Kubernetes Prow Robot 2023-05-17 15:42:33 -07:00 committed by GitHub
commit 9d613da22b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 23 deletions

View File

@ -1,4 +1,10 @@
# See the OWNERS docs at https://go.k8s.io/owners
reviewers:
- bentheelder
- dims
approvers:
- dims
labels:
- sig/testing
- sig/contributor-experience

View File

@ -28,8 +28,6 @@ import (
func main() {
indent := flag.Int("indent", 2, "default indent")
flag.Parse()
if flag.NArg() > 0 {
for _, path := range flag.Args() {
sourceYaml, err := os.ReadFile(path)
if err != nil {
@ -52,7 +50,6 @@ func main() {
continue
}
}
}
}
func fetchYaml(sourceYaml []byte) (*yaml.Node, error) {