Skip to content

Commit

Permalink
Merge pull request #40 from go-ksplit/laverya/fix-allresources-filename
Browse files Browse the repository at this point in the history
fix typo AllResorces->AllResources
  • Loading branch information
laverya committed May 5, 2021
2 parents a9d5ce5 + b2c302e commit 2ee9b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/splitter/ksplit.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func MaybeSplitMultidocYaml(fs afero.Afero, localPath string, combineNonCRDs boo
for _, outputFile := range allOutputFiles {
allOutputStrings = append(allOutputStrings, outputFile.contents)
}
nonCrdsFile := outputYaml{contents: strings.Join(allOutputStrings, "\n---\n"), name: "AllResorces"}
nonCrdsFile := outputYaml{contents: strings.Join(allOutputStrings, "\n---\n"), name: "AllResources"}
allOutputFiles = []outputYaml{nonCrdsFile}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/splitter/ksplit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ spec:
},
outputFiles: []fileStruct{
{
name: "/test/AllResorces.yaml",
name: "/test/AllResources.yaml",
data: `
#A Test Comment
apiVersion: extensions/v1beta1
Expand Down

0 comments on commit 2ee9b51

Please sign in to comment.