diff options
Diffstat (limited to 'container/autoroot.go')
| -rw-r--r-- | container/autoroot.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/container/autoroot.go b/container/autoroot.go index 640d72d1..a7a3f33c 100644 --- a/container/autoroot.go +++ b/container/autoroot.go @@ -73,8 +73,7 @@ func (r *AutoRootOp) apply(state *setupState) error { func (r *AutoRootOp) Is(op Op) bool { vr, ok := op.(*AutoRootOp) return ok && ((r == nil && vr == nil) || (r != nil && vr != nil && - r.Host != nil && vr.Host != nil && - r.Host.String() == vr.Host.String() && + r.Host != nil && vr.Host != nil && r.Host.Is(vr.Host) && r.Prefix == vr.Prefix && r.Flags == vr.Flags)) } func (*AutoRootOp) prefix() string { return "setting up" } |
