Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
  • Loading branch information
JorTurFer committed Sep 25, 2023
1 parent 43d347d commit 08f59a4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion pkg/scalers/mysql_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func parseMySQLMetadata(config *ScalerConfig) (*mySQLMetadata, error) {
} else {
return nil, fmt.Errorf("no queryValue given")
}

}

meta.activationQueryValue = 0
Expand Down
1 change: 0 additions & 1 deletion pkg/scalers/postgresql_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func parsePostgreSQLMetadata(config *ScalerConfig) (*postgreSQLMetadata, error)
} else {
return nil, fmt.Errorf("no targetQueryValue given")
}

}

meta.activationTargetQueryValue = 0
Expand Down
1 change: 0 additions & 1 deletion pkg/scalers/predictkube_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ func parsePredictKubeMetadata(config *ScalerConfig) (result *predictKubeMetadata
} else {
return nil, fmt.Errorf("no threshold given")
}

}

meta.activationThreshold = 0
Expand Down
1 change: 0 additions & 1 deletion pkg/scaling/scale_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,6 @@ func (h *scaleHandler) getScaledObjectState(ctx context.Context, scaledObject *k
isScaledObjectActive = value > activationValue
}
}

}

// if cpu/memory resource scaler has minReplicas==0 & at least one external
Expand Down

0 comments on commit 08f59a4

Please sign in to comment.