commit | b14663955dc8e47238716511c9331e2e21c9b6b1 | [log] [tgz] |
---|---|---|
author | donNewtonAlpha <donNewtonAlpha@gmail.com> | Tue Oct 02 10:42:05 2018 -0400 |
committer | donNewtonAlpha <donNewtonAlpha@gmail.com> | Tue Oct 02 14:55:48 2018 -0400 |
tree | d4bac41ba2dfcf9a9a64bea0d6d03d7794c12cae | |
parent | 57aa2ffa5ecaa8a3ed1ffe5e1c017636ef9459d7 [diff] [blame] |
SEBA-259-1 breaking out of testLogin if in dummy mode Change-Id: Ia8d918562b4ff31f10ba1207f1c102ba29de974f
diff --git a/api/handler.go b/api/handler.go index f6d4c5b..2d5c5ed 100644 --- a/api/handler.go +++ b/api/handler.go
@@ -205,6 +205,9 @@ } func testLogin(xosUser string, xosPassword string, xosIP net.IP, xosPort int) bool { + if settings.GetDummy() { + return true + } var dummyYaml = ` tosca_definitions_version: tosca_simple_yaml_1_0 imports: