Skip to content

Commit

Permalink
release 0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gondor committed Apr 19, 2016
1 parent 1e607b4 commit 5122655
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 0.8.2
VERSION = 0.8.3

GO_FMT = gofmt -s -w -l .
GO_XC = goxc -os="linux darwin windows" -tasks-="rmbin"
Expand Down
2 changes: 1 addition & 1 deletion commands/marathon/marathon_cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func client(c *cobra.Command) marathon.Marathon {
if timeout, err := c.Flags().GetDuration(TIMEOUT_FLAG); err == nil {
opts.WaitTimeout = timeout
}
opts.TLSAllowInsecure = insecure;
opts.TLSAllowInsecure = insecure

marathonClient = marathon.NewMarathonClientWithOpts(mc.HostUrl, mc.Username, mc.Password, opts)

Expand Down
2 changes: 1 addition & 1 deletion marathon/marathon.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ type MarathonClient struct {
}

type MarathonOptions struct {
WaitTimeout time.Duration
WaitTimeout time.Duration
TLSAllowInsecure bool
}

Expand Down
5 changes: 2 additions & 3 deletions pkg/httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package httpclient

import (
"crypto/tls"
"errors"
"github.com/gondor/depcon/pkg/encoding"
"github.com/gondor/depcon/pkg/logger"
Expand All @@ -10,7 +11,6 @@ import (
"strings"
"sync"
"time"
"crypto/tls"
)

var log = logger.GetLogger("client")
Expand Down Expand Up @@ -61,9 +61,8 @@ var (
ErrorMessage = errors.New("Unknown error message was captured")
// Not Authorized
ErrorNotAuthorized = errors.New("Not Authorized to perform this action - Status: 403")
// Not Authenticated
// Not Authenticated
ErrorNotAuthenticated = errors.New("Not Authenticated to perform this action - Status: 401")

)

func NewDefaultConfig() *HttpClientConfig {
Expand Down

0 comments on commit 5122655

Please sign in to comment.