mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
Don't export structs that are not needed outside fixhandler package
This commit is contained in:
@@ -66,11 +66,11 @@ func testDirectoryApplyFixHelper(t *testing.T, yamlExpressions *[][]string, dire
|
||||
// make changes to temp file
|
||||
h, _ := NewFixHandlerMock()
|
||||
|
||||
filePathFixInfo := make(map[string]*FileFixInfo)
|
||||
filePathFixInfo := make(map[string]*fileFixInfo)
|
||||
filePath := tempFile.Name()
|
||||
filePathFixInfo[filePath] = &FileFixInfo{
|
||||
ContentToAdd: make([]ContentToAdd, 0),
|
||||
LinesToRemove: make([]LinesToRemove, 0),
|
||||
filePathFixInfo[filePath] = &fileFixInfo{
|
||||
contentToAdd: make([]contentToAdd, 0),
|
||||
linesToRemove: make([]linesToRemove, 0),
|
||||
}
|
||||
fixInfo := filePathFixInfo[filePath]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user