Skip to content

Commit

Permalink
fix typo in isScalableCache (kedacore#2064)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
  • Loading branch information
zroubalik authored and nilayasiktoprak committed Oct 23, 2021
1 parent 8d77301 commit 2e960f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/scaledobject_controller.go
Expand Up @@ -64,8 +64,8 @@ var isScalableCache map[string]bool
func init() {
// Prefill the cache with some known values for core resources in case of future parallelism to avoid stampeding herd on startup.
isScalableCache = map[string]bool{
"deployments.apps": true,
"statefusets.apps": true,
"deployments.apps": true,
"statefulsets.apps": true,
}
}

Expand Down

0 comments on commit 2e960f0

Please sign in to comment.