Revision 630061d2
Added by Michael Moll almost 6 years ago
app/models/nic/base.rb | ||
---|---|---|
|
||
def clone
|
||
# do not copy system specific attributes
|
||
self.deep_clone(:except => [:name, :mac, :ip, :ip6, :host_id])
|
||
self.deep_clone(:except => [:name, :mac, :ip, :ip6, :host_id])
|
||
end
|
||
|
||
# if this interface does not have MAC and is attached to other interface,
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop