Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion acceptance/bundle/deploy/files/no-snapshot-sync/test.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Local = false
Local = true
Cloud = true

Ignore = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Updating deployment state...
Deployment complete!

>>> musterr [CLI] workspace get-status /Workspace/Users/[USERNAME]/.bundle/out-of-band-delete/default/files/hello_world.py
Error: Workspace path not found
Error: Path (/Workspace/Users/[USERNAME]/.bundle/out-of-band-delete/default/files/hello_world.py) doesn't exist.

=== Removing the sync snapshot forces a full re-upload, restoring the python_file
>>> rm -rf .databricks/bundle/default/sync-snapshots
Expand Down
2 changes: 1 addition & 1 deletion acceptance/selftest/server/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ custom
response

>>> errcode [CLI] workspace get-status /a/b/c
Error: Workspace path not found
Error: Path (/a/b/c) doesn't exist.

Exit code: 1
2 changes: 1 addition & 1 deletion acceptance/workspace/repos/delete_by_path/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
>>> [CLI] repos delete /Repos/me@databricks.com/test-repo

>>> [CLI] repos get /Repos/me@databricks.com/test-repo -o json
Error: failed to look up repo by path: Workspace path not found
Error: failed to look up repo by path: Path (/Repos/me@databricks.com/test-repo) doesn't exist.

Exit code: 1
2 changes: 1 addition & 1 deletion acceptance/workspace/repos/get_errors/output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

>>> [CLI] repos get /Repos/me@databricks.com/doesnotexist -o json
Error: failed to look up repo by path: Workspace path not found
Error: failed to look up repo by path: Path (/Repos/me@databricks.com/doesnotexist) doesn't exist.

>>> [CLI] repos get /not-a-repo -o json
Error: object at path "/not-a-repo" is not a repo
3 changes: 2 additions & 1 deletion libs/testserver/fake_workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,10 @@ func (s *FakeWorkspace) WorkspaceGetStatus(path string) Response {
},
}
} else {
// Match the real Workspace API wording, which echoes the requested path.
return Response{
StatusCode: 404,
Body: map[string]string{"message": "Workspace path not found"},
Body: map[string]string{"message": fmt.Sprintf("Path (%s) doesn't exist.", path)},
}
}
}
Expand Down
Loading