-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/17/2014 04:37 PM, Guillaume J. Charmes wrote:
> In pkg/selinux/selinux.go:
> 
>> +func ReadConfig(target string) (value string) { +	var val, key string +
>> var bufin *bufio.Reader + +	in, err := os.Open(selinuxConfig) +	if err !=
>> nil { +		return "" +	} +	defer in.Close() + +	bufin =
>> bufio.NewReader(in) + +	for done := false; !done; { +		var line string +
>> if line, err = bufin.ReadString('\n'); err != nil { +			if err == io.EOF
>> {
> 
> Small detail: to be golint compliant, you could do |if err != io.EOF {
> return "" }; done = true|
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/dotcloud/docker/pull/4211/files#r10677621>.
> 
GoFMT set it to.
		if line, err = bufin.ReadString('\n'); err != nil {
			if err != io.EOF {
				return ""
			}
			done = true
		}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMoT+kACgkQrlYvE4MpobP5uwCg5Vhgb6BPTIs363jPtX2Hy4md
6FwAoNiWqTiEYCIk9c9Nz+zZLwZXIC78
=PSw1
-----END PGP SIGNATURE-----