From 338997859797ccac4526d248a392fd442b0baec7 Mon Sep 17 00:00:00 2001
From: Rohith <gambol99@gmail.com>
Date: Tue, 5 Jan 2016 11:07:09 +0000
Subject: [PATCH] - updating to version v0.0.3

---
 doc.go      | 2 +-
 main.go     | 1 +
 resource.go | 9 +--------
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/doc.go b/doc.go
index 513b526..1cdcb4d 100644
--- a/doc.go
+++ b/doc.go
@@ -28,7 +28,7 @@ import (
 
 const (
 	prog    = "keycloak-proxy"
-	version = "v0.0.2"
+	version = "v0.0.3"
 	author  = "Rohith"
 	email   = "gambol99@gmail.com"
 
diff --git a/main.go b/main.go
index 95d6865..12d99e8 100644
--- a/main.go
+++ b/main.go
@@ -32,6 +32,7 @@ func main() {
 	kc.Version = version
 	kc.Author = author
 	kc.Email = email
+
 	kc.Flags = []cli.Flag{
 		cli.StringFlag{
 			Name:  "config",
diff --git a/resource.go b/resource.go
index 2453b1b..bef54ff 100644
--- a/resource.go
+++ b/resource.go
@@ -20,20 +20,13 @@ import (
 	"strings"
 )
 
-func newResource() *Resource {
-	return &Resource{
-		Methods:      make([]string, 0),
-		RolesAllowed: make([]string, 0),
-	}
-}
-
 func (r Resource) String() string {
 	var requiredRoles string
 	var requireMethods string
 
 	switch len(r.RolesAllowed) {
 	case 0:
-		requiredRoles = "authentication"
+		requiredRoles = "authentication only"
 	default:
 		requiredRoles = strings.Join(r.RolesAllowed, ",")
 	}
-- 
GitLab