Generated code for ResourceQuota API change

This commit is contained in:
derekwaynecarr
2016-02-22 11:13:32 -05:00
parent 55e3824272
commit d02c8dcd2e
9 changed files with 506 additions and 42 deletions

View File

@@ -2084,6 +2084,14 @@ func deepCopy_v1_ResourceQuotaSpec(in ResourceQuotaSpec, out *ResourceQuotaSpec,
} else {
out.Hard = nil
}
if in.Scopes != nil {
out.Scopes = make([]ResourceQuotaScope, len(in.Scopes))
for i := range in.Scopes {
out.Scopes[i] = in.Scopes[i]
}
} else {
out.Scopes = nil
}
return nil
}