srl-labs / containerlab

Multiple append can be combined into a single call CRT-P0001
Performance
Major
a month ago3 years old
can combine chain of 2 appends into one
815	}
816
817	// mount srlinux repository files
818	s.Cfg.Binds = append(s.Cfg.Binds, yumPath+":/etc/yum.repos.d/srlinux.repo:ro")819	s.Cfg.Binds = append(s.Cfg.Binds, aptPath+":/etc/apt/sources.list.d/srlinux.list:ro")
820
821	return nil