Skip to content

Commit

Permalink
fix filechange inspect error
Browse files Browse the repository at this point in the history
  • Loading branch information
liangzai006 committed Nov 29, 2023
1 parent e1fecc1 commit a563f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/rule/kubeeye_v1alpha2_services_connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
name: services-connect
spec:
serviceConnect:
- workSpaces: system-workspace
- workspace: system-workspace
level: warning

2 changes: 1 addition & 1 deletion pkg/inspect/file_change_Inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (f *fileChangeInspect) RunInspect(ctx context.Context, rules []kubeeyev1alp
continue
}
}
baseContent := baseConfig.BinaryData[constant.FileChange]
baseContent := baseConfig.BinaryData[constant.Data]

diffResult := diffString(string(baseContent), string(baseFile))

Expand Down

0 comments on commit a563f14

Please sign in to comment.