srl-labs / containerlab

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