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

Drops old facade versions. #1086

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

alesstimec
Copy link
Collaborator

Description

Keeps only the latest facade versions - ones used by the latest 2.9 controller - as discussed at the engineering sprint in Riga (23.10). This means only 2.9 (and 3.x) clients will be able to to talk to this version of JIMM.

Engineering checklist

Check only items that apply

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

Test instructions

Notes for code reviewers

Keeps only the latest facade versions - ones used by the latest 2.9 controller.
@alesstimec alesstimec changed the base branch from v2 to v3 November 14, 2023 12:34
@@ -21,7 +21,7 @@ import (
// ModelManager facade.
func (c Connection) CreateModel(ctx context.Context, args *jujuparams.ModelCreateArgs, info *jujuparams.ModelInfo) error {
const op = errors.Op("jujuclient.CreateModel")
if err := c.CallHighestFacadeVersion(ctx, "ModelManager", []int{9, 2}, "", "CreateModel", args, info); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't we want to keep this pattern for future facade versions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, we would.. but we'll change it once there is a newer facade version.

@alesstimec alesstimec merged commit 4eff037 into canonical:v3 Nov 15, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants