From 7f2e72420321775b88b7354b051a4ce089330f96 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 26 Feb 2019 14:12:41 -0600 Subject: [PATCH] Don't document a type for an argument which uses a callable (#53008) * Don't document a type for an argument which uses a callable * Update ignore.txt. --- lib/ansible/plugins/doc_fragments/k8s_resource_options.py | 1 - test/sanity/validate-modules/ignore.txt | 5 ----- 2 files changed, 6 deletions(-) diff --git a/lib/ansible/plugins/doc_fragments/k8s_resource_options.py b/lib/ansible/plugins/doc_fragments/k8s_resource_options.py index 7db4045172..6e35a8ea3f 100644 --- a/lib/ansible/plugins/doc_fragments/k8s_resource_options.py +++ b/lib/ansible/plugins/doc_fragments/k8s_resource_options.py @@ -14,7 +14,6 @@ options: description: - "Provide a valid YAML definition (either as a string, list, or dict) for an object when creating or updating. NOTE: I(kind), I(api_version), I(name), and I(namespace) will be overwritten by corresponding values found in the provided I(resource_definition)." - type: str aliases: - definition - inline diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 3093196557..73892b3097 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -161,9 +161,6 @@ lib/ansible/modules/cloud/google/gcpubsub_facts.py E322 lib/ansible/modules/cloud/google/gcpubsub_facts.py E324 lib/ansible/modules/cloud/google/gcpubsub_facts.py E326 lib/ansible/modules/cloud/google/gcspanner.py E322 -lib/ansible/modules/cloud/kubevirt/kubevirt_preset.py E325 -lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py E325 -lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py E325 lib/ansible/modules/cloud/linode/linode.py E322 lib/ansible/modules/cloud/linode/linode.py E324 lib/ansible/modules/cloud/lxc/lxc_container.py E210 @@ -346,8 +343,6 @@ lib/ansible/modules/clustering/etcd3.py E326 lib/ansible/modules/clustering/k8s/_kubernetes.py E322 lib/ansible/modules/clustering/k8s/_kubernetes.py E323 lib/ansible/modules/clustering/k8s/_kubernetes.py E324 -lib/ansible/modules/clustering/k8s/k8s.py E325 -lib/ansible/modules/clustering/k8s/k8s_scale.py E325 lib/ansible/modules/clustering/znode.py E326 lib/ansible/modules/commands/command.py E322 lib/ansible/modules/commands/command.py E323