Skip to content

Commit 96512ae

Browse files
committed
update
1 parent bb2ebce commit 96512ae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bundle/config/variable/resolve_service_principal.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type resolveServicePrincipal struct {
1111
}
1212

1313
func (l resolveServicePrincipal) Resolve(ctx context.Context, w *databricks.WorkspaceClient) (string, error) {
14+
//nolint:staticcheck // this API is deprecated but we still need use it as there is no replacement yet.
1415
entity, err := w.ServicePrincipals.GetByDisplayName(ctx, l.name)
1516
if err != nil {
1617
return "", err

cmd/workspace/shares/overrides.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ func newList() *cobra.Command {
3636
ctx := cmd.Context()
3737
w := cmdctx.WorkspaceClient(ctx)
3838

39+
//nolint:staticcheck // this API is deprecated but we still need to expose this in the CLI.
3940
response := w.Shares.List(ctx, listReq)
4041
return cmdio.RenderIterator(ctx, response)
4142
}

0 commit comments

Comments
 (0)