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

task: some store clean ups from ops manager references #2714

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove some interfaces
gssbzn committed Mar 6, 2024

Verified

This commit was signed with the committer’s verified signature.
gssbzn Gustavo Bazan
commit f4f7487b880028d993f8176a0a3df1df4f092393
2 changes: 1 addition & 1 deletion internal/cli/atlas/projects/describe_test.go
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ func TestDescribe_Run(t *testing.T) {
}
mockStore.
EXPECT().
Project(gomock.Eq("5a0a1e7e0f2912c554080adc")).
Project("5a0a1e7e0f2912c554080adc").
Return(expected, nil).
Times(1)

1 change: 0 additions & 1 deletion internal/kubernetes/operator/install.go
Original file line number Diff line number Diff line change
@@ -142,7 +142,6 @@ func (i *Install) Run(ctx context.Context, orgID string) error {

func (i *Install) ensureProject(orgID, projectName string) (*admin.Group, error) {
project, err := i.atlasStore.ProjectByName(projectName)

if err == nil {
return project, nil
}