docker/libtrust — pull request #35 by dqminh (2014-10-23 16:30:57+00:00)
Title: filter hosts should cast hosts value to []string

Instead of casting the hosts value to []interface{} in FilterByHosts (which
doesnt work because user cannot cast interface{} to []interface{}), this patch
casts host value to []string directly.

Without the patch, running `go run gencert.go` will fail with panic
because filtered hosts are empty after casting.

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh (github: dqminh)