diff --git a/cmd/labs/github/releases_test.go b/cmd/labs/github/releases_test.go index 9c3d7a959..eb8ec34bd 100644 --- a/cmd/labs/github/releases_test.go +++ b/cmd/labs/github/releases_test.go @@ -25,7 +25,7 @@ func TestLoadsReleasesForCLI(t *testing.T) { ctx := context.Background() ctx = WithApiOverride(ctx, server.URL) - r := NewReleaseCache("databricks", "cli", t.TempDir()) + r := NewReleaseCache("databricks", "cli", t.TempDir(), false) all, err := r.Load(ctx) assert.NoError(t, err) assert.Len(t, all, 2) diff --git a/cmd/labs/project/installer_test.go b/cmd/labs/project/installer_test.go index d8c8e0085..06bd1a45e 100644 --- a/cmd/labs/project/installer_test.go +++ b/cmd/labs/project/installer_test.go @@ -270,7 +270,7 @@ func TestOfflineInstallerWorksForReleases(t *testing.T) { ctx = env.Set(ctx, "DATABRICKS_CLUSTER_ID", "installer-cluster") ctx = env.Set(ctx, "DATABRICKS_WAREHOUSE_ID", "installer-warehouse") - r := testcli.NewRunner(t, ctx, "labs", "install", "blueprint", "--offline-install=true", "--debug") + r := testcli.NewRunner(t, ctx, "labs", "install", "blueprint", "--offline=true", "--debug") r.RunAndExpectOutput("setting up important infrastructure") } diff --git a/cmd/labs/project/project.go b/cmd/labs/project/project.go index 75f5e584f..a9f5f45c2 100644 --- a/cmd/labs/project/project.go +++ b/cmd/labs/project/project.go @@ -307,7 +307,7 @@ func (p *Project) checkUpdates(cmd *cobra.Command) error { // might not be installed yet return nil } - r := github.NewReleaseCache("databrickslabs", p.Name, p.CacheDir()) + r := github.NewReleaseCache("databrickslabs", p.Name, p.CacheDir(), false) versions, err := r.Load(ctx) if err != nil { return err