Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated test env documentation
[nonrtric.git]
/
service-exposure
/
rapps-rapp-invoker.go
diff --git
a/service-exposure/rapps-rapp-invoker.go
b/service-exposure/rapps-rapp-invoker.go
index
4dc7359
..
21c72c0
100644
(file)
--- a/
service-exposure/rapps-rapp-invoker.go
+++ b/
service-exposure/rapps-rapp-invoker.go
@@
-17,7
+17,6
@@
// limitations under the License.
// ========================LICENSE_END===================================
//
// limitations under the License.
// ========================LICENSE_END===================================
//
-
package main
import (
package main
import (
@@
-57,7
+56,7
@@
var role string
var rapp string
var methods string
var healthy bool = true
var rapp string
var methods string
var healthy bool = true
-var ttime time.Time
+var ttime time.Time
var jwt Jwttoken
const (
var jwt Jwttoken
const (
@@
-80,7
+79,7
@@
func getToken(secretName string) string {
ttime = time.Now()
ttime = ttime.Add(time.Second * time.Duration(jwt.Expires_in))
}
ttime = time.Now()
ttime = ttime.Add(time.Second * time.Duration(jwt.Expires_in))
}
- return jwt.Access_token
+ return jwt.Access_token
}
func getSecret(secretName string) (string, string, string) {
}
func getSecret(secretName string) (string, string, string) {