mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 10:55:05 +00:00
remove commented code
This commit is contained in:
parent
5fcf9adfc5
commit
d728f363aa
2 changed files with 0 additions and 5 deletions
|
@ -45,10 +45,6 @@ func NewDynamicClient(config *rest.Config, logger *log.Logger) (*Client, error)
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (c *Client) Test() {
|
||||
|
||||
}
|
||||
|
||||
func (c *Client) GetKubePolicyDeployment() (*apps.Deployment, error) {
|
||||
kubePolicyDeployment, err := c.GetResource("deployments", config.KubePolicyNamespace, config.KubePolicyDeploymentName)
|
||||
if err != nil {
|
||||
|
|
1
main.go
1
main.go
|
@ -30,7 +30,6 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatalf("Error creating client: %v\n", err)
|
||||
}
|
||||
// client.Test()
|
||||
|
||||
policyInformerFactory, err := sharedinformer.NewSharedInformerFactory(clientConfig)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue