mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
rename legacy to core
This commit is contained in:
@@ -1621,7 +1621,7 @@ func (dd *DeploymentDescriber) Describe(namespace, name string) (string, error)
|
||||
}
|
||||
fmt.Fprintf(out, "NewReplicationController:\t%s\n", printReplicationControllersByLabels(newRCs))
|
||||
}
|
||||
events, err := dd.Legacy().Events(namespace).Search(d)
|
||||
events, err := dd.Core().Events(namespace).Search(d)
|
||||
if err == nil && events != nil {
|
||||
DescribeEvents(events, out)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user