Skip to content

Commit

Permalink
fix(analyzer): Removed spec property from K8s file Analyzer #3461 #3462
Browse files Browse the repository at this point in the history


Signed-off-by: João Reigota <[email protected]>
  • Loading branch information
joaoReigota1 authored May 27, 2021
1 parent c65b8fd commit e57850f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ var (
k8sRegex = regexp.MustCompile("(\\s*\"apiVersion\":)|(\\s*apiVersion:)")
k8sRegexKind = regexp.MustCompile("(\\s*\"kind\":)|(\\s*kind:)")
k8sRegexMetadata = regexp.MustCompile("(\\s*\"metadata\":)|(\\s*metadata:)")
k8sRegexSpec = regexp.MustCompile("(\\s*\"spec\":)|(\\s*spec:)")
)

const (
Expand Down Expand Up @@ -129,7 +128,6 @@ var types = map[string]regexSlice{
k8sRegex,
k8sRegexKind,
k8sRegexMetadata,
k8sRegexSpec,
},
},
"cloudformation": {
Expand Down

0 comments on commit e57850f

Please sign in to comment.