Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Fixes #24: Replace auditSecurityContext with correct function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jinankjain committed Oct 14, 2017
1 parent 7d7a28f commit 6883250
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/automountServiceAccountToken.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ kubeaudit rbac sat`,
count := len(resources)
wg.Add(count)
for _, resource := range resources {
go auditSecurityContext(resource)
go auditAutomountServiceAccountToken(resource)
}
wg.Wait()
} else {
Expand Down
2 changes: 1 addition & 1 deletion cmd/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ kubeaudit image -i gcr.io/google_containers/echoserver:1.7`,
count := len(resources)
wg.Add(count)
for _, resource := range resources {
go auditSecurityContext(resource)
go auditImages(imgConfig.img, resource)
}
wg.Wait()
} else {
Expand Down
2 changes: 1 addition & 1 deletion cmd/privileged.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ kubeaudit privileged`,
count := len(resources)
wg.Add(count)
for _, resource := range resources {
go auditSecurityContext(resource)
go auditPrivileged(resource)
}
wg.Wait()
} else {
Expand Down
2 changes: 1 addition & 1 deletion cmd/readOnlyRootFilesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ kubeaudit runAsNonRoot`,
count := len(resources)
wg.Add(count)
for _, resource := range resources {
go auditSecurityContext(resource)
go auditReadOnlyRootFS(resource)
}
wg.Wait()
} else {
Expand Down
2 changes: 1 addition & 1 deletion cmd/runAsNonRoot.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ kubeaudit runAsNonRoot`,
count := len(resources)
wg.Add(count)
for _, resource := range resources {
go auditSecurityContext(resource)
go auditRunAsNonRoot(resource)
}
wg.Wait()
} else {
Expand Down

0 comments on commit 6883250

Please sign in to comment.