Skip to content

Commit

Permalink
chore: remove directory data home workspace option
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Oct 18, 2024
1 parent d935861 commit 6e38f43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/sdkserver/workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func (w workspaceCommonRequest) getToolRepo() string {
type createWorkspaceRequest struct {
workspaceCommonRequest `json:",inline"`
ProviderType string `json:"providerType"`
DirectoryDataHome string `json:"directoryDataHome"`
FromWorkspaceIDs []string `json:"fromWorkspaceIDs"`
}

Expand All @@ -53,8 +52,8 @@ func (s *server) createWorkspace(w http.ResponseWriter, r *http.Request) {
prg,
reqObject.Env,
fmt.Sprintf(
`{"provider": "%s", "data_home": "%s", "workspace_ids": "%s"}`,
reqObject.ProviderType, reqObject.DirectoryDataHome, strings.Join(reqObject.FromWorkspaceIDs, ","),
`{"provider": "%s", "workspace_ids": "%s"}`,
reqObject.ProviderType, strings.Join(reqObject.FromWorkspaceIDs, ","),
),
)
if err != nil {
Expand Down

0 comments on commit 6e38f43

Please sign in to comment.