Skip to content

Implement SaaS-Based Approval Workflow for ClientIntents #617

Implement SaaS-Based Approval Workflow for ClientIntents

Implement SaaS-Based Approval Workflow for ClientIntents #617

Triggered via pull request June 8, 2025 15:12
Status Failure
Total duration 2m 41s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
vet
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to agent.AddRolePolicyFromIntents
vet
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to a.DeleteCustomRole
vet
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to agent.AddRolePolicyFromIntents
vet
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to a.DeleteCustomRole
vet
cannot use clientIntents (variable of type v2alpha1.ClientIntents) as v2alpha1.ApprovedClientIntents value in argument to s.assertReportedIntents
vet
Process completed with exit code 1.
golangci: src/operator/main.go#L36
could not import github.com/otterize/intents-operator/src/operator/controllers/intents_reconcilers/iam (-: # github.com/otterize/intents-operator/src/operator/controllers/intents_reconcilers/iam
golangci
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to agent.AddRolePolicyFromIntents) (typecheck)
golangci: src/operator/main.go#L39
could not import github.com/otterize/intents-operator/src/operator/controllers/intents_reconcilers/iam/iampolicyagents/azurepolicyagent (-: # github.com/otterize/intents-operator/src/operator/controllers/intents_reconcilers/iam/iampolicyagents/azurepolicyagent
golangci
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to a.DeleteCustomRole) (typecheck)
golangci
cannot use clientIntents (variable of type v2alpha1.ClientIntents) as v2alpha1.ApprovedClientIntents value in argument to s.assertReportedIntents (typecheck)
golangci
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to agent.AddRolePolicyFromIntents (typecheck)
golangci
cannot use intents (variable of type v2alpha1.ApprovedClientIntents) as v2alpha1.ClientIntents value in argument to a.DeleteCustomRole
golangci
cannot use clientIntents (variable of type v2alpha1.ClientIntents) as v2alpha1.ApprovedClientIntents value in argument to s.agent.DeleteRolePolicyFromIntents (typecheck)
golangci
issues found