mirror of https://github.com/k3s-io/k3s
Drop debug log in prune
parent
314264aeaf
commit
9d2a94ffa2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue