Skip to content

Commit

Permalink
chore: change Keda -> KEDA (kedacore#1959)
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 8196dc2 commit 7574a1c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ ASALocalRun/
# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Keda artifacts
# KEDA artifacts
dist/
bin
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (p *KedaProvider) GetExternalMetric(namespace string, metricSelector labels
// Note:
// metric name and namespace is used to lookup for the CRD which contains configuration to call azure
// if not found then ignored and label selector is parsed for all the metrics
logger.V(1).Info("Keda provider received request for external metrics", "namespace", namespace, "metric name", info.Metric, "metricSelector", metricSelector.String())
logger.V(1).Info("KEDA provider received request for external metrics", "namespace", namespace, "metric name", info.Metric, "metricSelector", metricSelector.String())
selector, err := labels.ConvertSelectorToLabelsMap(metricSelector.String())
if err != nil {
logger.Error(err, "Error converting Selector to Labels Map")
Expand Down
4 changes: 2 additions & 2 deletions tests/cleanup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ test.before('setup shelljs', () => {
sh.config.silent = true
})

test('Remove Keda', t => {
test('Remove KEDA', t => {
let result = sh.exec('(cd .. && make undeploy)')
if (result.code !== 0) {
t.fail('error removing keda. ' + result)
}
t.pass('Keda undeployed successfully using make undeploy command')
t.pass('KEDA undeployed successfully using make undeploy command')
})
6 changes: 3 additions & 3 deletions tests/setup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ test.serial('Get Kubernetes version', t => {
}
})

test.serial('Deploy Keda', t => {
test.serial('Deploy KEDA', t => {
let result = sh.exec('(cd .. && make deploy)')
if (result.code !== 0) {
t.fail('error deploying keda. ' + result)
}
t.pass('Keda deployed successfully using make deploy command')
t.pass('KEDA deployed successfully using make deploy command')
})

test.serial('verifyKeda', t => {
Expand All @@ -53,7 +53,7 @@ test.serial('verifyKeda', t => {
const parsedOperator = parseInt(resultOperator.stdout, 10)
const parsedMetrics = parseInt(resultMetrics.stdout, 10)
if (isNaN(parsedOperator) || parsedOperator != 1 || isNaN(parsedMetrics) || parsedMetrics != 1) {
t.log(`Keda is not ready. sleeping`)
t.log(`KEDA is not ready. sleeping`)
sh.exec('sleep 5s')
} else if (parsedOperator == 1 && parsedMetrics == 1) {
t.log('keda is running 1 pod for operator and 1 pod for metrics server')
Expand Down

0 comments on commit 7574a1c

Please sign in to comment.