Merge pull request #75550 from bclau/patch-1

tests: Fixes Python3 compatibility
This commit is contained in:
Kubernetes Prow Robot 2019-03-21 09:41:41 -07:00 committed by GitHub
commit d29afda3fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,9 +43,9 @@ const queryDnsPythonTemplate string = `
import socket
try:
socket.gethostbyname('%s')
print 'ok'
print('ok')
except:
print 'err'`
print('err')`
var _ = SIGDescribe("ClusterDns [Feature:Example]", func() {
f := framework.NewDefaultFramework("cluster-dns")