"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "components/engine/vendor/github.com/opencontainers/runc/libcontainer/configs/blkio_device.go" between
docker-ce-19.03.2.tar.gz and docker-ce-19.03.3.tar.gz

About: Docker CE is a project to pack, ship and run any application as a lightweight container. Docker containers can run anywhere, on a laptop or at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more. Community edition.

blkio_device.go  (docker-ce-19.03.2):blkio_device.go  (docker-ce-19.03.3)
skipping to change at line 62 skipping to change at line 62
td.Major = major td.Major = major
td.Minor = minor td.Minor = minor
td.Rate = rate td.Rate = rate
return td return td
} }
// String formats the struct to be writable to the cgroup specific file // String formats the struct to be writable to the cgroup specific file
func (td *ThrottleDevice) String() string { func (td *ThrottleDevice) String() string {
return fmt.Sprintf("%d:%d %d", td.Major, td.Minor, td.Rate) return fmt.Sprintf("%d:%d %d", td.Major, td.Minor, td.Rate)
} }
// StringName formats the struct to be writable to the cgroup specific file
func (td *ThrottleDevice) StringName(name string) string {
return fmt.Sprintf("%d:%d %s=%d", td.Major, td.Minor, name, td.Rate)
}
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)