Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ModelAccess method of api.Connection is unused - remove it. #13931

Conversation

arnodel
Copy link
Contributor

@arnodel arnodel commented Apr 5, 2022

The ModelAccess method of api.Connection is unused outside tests so should be removed.

Copy link
Member

@SimonRichardson SimonRichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is useful for the consumer client, I wonder if we should allow this information from somewhere else (or is it already)?

@arnodel
Copy link
Contributor Author

arnodel commented Apr 5, 2022

I think this is useful for the consumer client, I wonder if we should allow this information from somewhere else (or is it already)?

This method has been in the interface for at least 6 years an it's unused though! If this kind of information is required it must be obtained from somewhere else.

@wallyworld
Copy link
Member

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented May 2, 2022

Can one of the admins verify this patch?

2 similar comments
@jujubot
Copy link
Collaborator

jujubot commented May 2, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Collaborator

jujubot commented May 2, 2022

Can one of the admins verify this patch?

@jujubot jujubot merged commit 5f75873 into juju:2.9 May 2, 2022
jujubot added a commit that referenced this pull request May 16, 2022
#14017

Merge from 2.9 to bring forward:
- #14007 from wallyworld/update-golang-deps
- #14013 from hmlanigan/show-controller-panic
- #14012 from hmlanigan/remove-unit-subordinate
- #13998 from turrisxyz/setup-permissions
- #14011 from ycliuhw/update-ck-overlay
- #14010 from tlm/juju-jenkins-tests
- #14004 from tlm/juju-jenkins-tests
- #14003 from manadart/2.9-close-unit-loggers
- #14001 from jack-w-shaw/JUJU-1050_show_unit_life
- #13890 from juju/dependabot/github_actions/actions/upload-artifact-3
- #14000 from wallyworld/use-go1.18
- #13999 from tlm/juju-jenkins-tests
- #13991 from ycliuhw/fix/lp1968643
- #13997 from tlm/cross-compile
- #13931 from arnodel/juju-885-remove-modelaccess-connection-iface-method
- #13992 from jack-w-shaw/JUJU-1034_reduce_over_verbose_logging_network
- #13993 from hmlanigan/fix-intermittent-fail-testenqueuedoperation
- #13990 from wallyworld/handle-azure-quota-errors
- #13989 from benhoyt/start-worker-if-dead
- #13987 from hpidcock/filter-test-packages

Conflicts:
- cmd/juju/controller/showcontroller.go
- go.mod
- go.sum
- provider/azure/environ_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants