• Kubernetes Submit Queue's avatar
    Merge pull request #31627 from deads2k/quota-copy · dc8f384e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    make deep copy of quota objects before mutations
    
    The code currently makes shallow copies which ensures that we aren't accidentally reslicing anything in weird ways, but the usage maps are pointers, so they end up being shared.
    
    This makes a couple copies when we know we're going to mutate to avoid changing shared maps.
    dc8f384e
Name
Last commit
Last update
..
admission Loading commit data...
auth Loading commit data...
client/auth Loading commit data...
scheduler Loading commit data...
webhook Loading commit data...