mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Fix typo
This commit is contained in:
@@ -213,7 +213,7 @@ func (c *client) WalkDeployments(f func(Deployment) error) error {
|
||||
if c.deploymentStore == nil {
|
||||
return nil
|
||||
}
|
||||
for _, m := range c.replicaSetStore.List() {
|
||||
for _, m := range c.deploymentStore.List() {
|
||||
d := m.(*apiv1beta1.Deployment)
|
||||
if err := f(NewDeployment(d)); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user