Skip to content

Commit

Permalink
Merge pull request #69 from maleck13/revert-timeout
Browse files Browse the repository at this point in the history
change back to number
  • Loading branch information
maleck13 authored Feb 7, 2018
2 parents e8b55a8 + fee349e commit dec6895
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/cmd/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ import (

"sort"

"time"

"github.com/aerogear/mobile-cli/pkg/cmd/output"
"k8s.io/apimachinery/pkg/watch"
)
Expand Down Expand Up @@ -364,7 +362,7 @@ Run the "mobile get services" command from this tool to see which services are a
if noWait {
return nil
}
timeout := int64(10 * time.Minute) // ten minutes
timeout := int64(10 * 60) // ten minutes
w, err := sc.scClient.ServicecatalogV1beta1().ServiceInstances(ns).Watch(metav1.ListOptions{TimeoutSeconds: &timeout})
if err != nil {
return errors.WithStack(err)
Expand Down

0 comments on commit dec6895

Please sign in to comment.