• Solly Ross's avatar
    Fix HPA v1 Conversion Bug · caa78e0b
    Solly Ross authored
    There was a bug in the HPA v1 conversion logic that would occur when
    a custom metric and a metric that was encoded in v1 as
    targetCPUUtilizationPercentage were used at the same time.  In this
    case, the custom metric could overwrite the CPU metric, or vice versa.
    
    This fixes that bug, and ensures that the fuzzer tests round-tripping
    with multiple metrics.
    caa78e0b
Name
Last commit
Last update
..
BUILD Loading commit data...
conversion.go Loading commit data...
defaults.go Loading commit data...
defaults_test.go Loading commit data...
doc.go Loading commit data...
generated.pb.go Loading commit data...
generated.proto Loading commit data...
register.go Loading commit data...
types.generated.go Loading commit data...
types.go Loading commit data...
types_swagger_doc_generated.go Loading commit data...
zz_generated.conversion.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...
zz_generated.defaults.go Loading commit data...