Skip to content

Commit

Permalink
Adding support for SWIFT object stores and adding updates to changes …
Browse files Browse the repository at this point in the history
…to tes schema.
  • Loading branch information
kellrott committed Oct 5, 2016
1 parent 545639f commit e6d9bb7
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 72 deletions.
2 changes: 1 addition & 1 deletion src/ga4gh-engine/worker/container_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (self *DockerEngine) Run(containerName string, args []string,
if err != nil {
log.Printf("docker %s error: %s", container.ID, err)
} else {
log.Printf("docker %s complete", container.ID, err)
log.Printf("docker %s complete", container.ID)
}

if stdout != nil {
Expand Down
6 changes: 3 additions & 3 deletions src/ga4gh-engine/worker/swift_client.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package ga4gh_taskengine_worker

import (
"fmt"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/openstack"
"io"
"log"
"os"
"fmt"
"strings"
"log"
//"github.com/rackspace/gophercloud/openstack/objectstorage/v1/containers"
"github.com/rackspace/gophercloud/openstack/objectstorage/v1/objects"
//"github.com/rackspace/gophercloud/pagination"
Expand Down Expand Up @@ -74,7 +74,7 @@ func (self *SwiftAccess) Put(storage string, hostPath string, directory bool) er
if err != nil {
return err
}

storage = strings.TrimPrefix(storage, SWIFT_PROTOCOL)
storage_split := strings.SplitN(storage, "/", 2)

Expand Down
134 changes: 67 additions & 67 deletions src/ga4gh-tasks/task_execution.pb.go

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

2 changes: 1 addition & 1 deletion task-execution-schemas

0 comments on commit e6d9bb7

Please sign in to comment.