• 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
..
install Loading commit data...
v1 Loading commit data...
v2alpha1 Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
annotations.go Loading commit data...
doc.go Loading commit data...
register.go Loading commit data...
types.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...