Skip to content

Commit

Permalink
remove dial model function
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneDutto committed Dec 6, 2024
1 parent 40972c3 commit 10111ef
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/jimm/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,3 @@ func (j *JIMM) dialController(ctx context.Context, ctl *dbmodel.Controller) (API
}
return api, nil
}

// dialModel dials a model.
func (j *JIMM) dialModel(ctx context.Context, ctl *dbmodel.Controller, mt names.ModelTag) (API, error) {
api, err := j.dial(ctx, ctl, mt)
if err != nil {
zapctx.Error(ctx, "failed to dial the controller", zaputil.Error(err))
return nil, err
}
return api, nil
}

0 comments on commit 10111ef

Please sign in to comment.