Merge pull request #78043 from tedyu/drop-dbg-pruning

Drop debug log in prune
This commit is contained in:
Kubernetes Prow Robot 2019-05-17 23:21:25 -07:00 committed by GitHub
commit 3db67158cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,6 @@ limitations under the License.
package pruning package pruning
import ( import (
"fmt"
structuralschema "k8s.io/apiextensions-apiserver/pkg/apiserver/schema" structuralschema "k8s.io/apiextensions-apiserver/pkg/apiserver/schema"
) )
@ -50,7 +48,6 @@ func prune(x interface{}, s *structuralschema.Structural) {
} else { } else {
delete(x, k) delete(x, k)
} }
fmt.Printf("deleting %q => %#v\n", k, x)
} }
case []interface{}: case []interface{}:
if s == nil { if s == nil {