Skip to content

Commit 5e4cdb2

Browse files
author
nalexand
committed
fixed Installer.cls.xml
1 parent 8c52996 commit 5e4cdb2

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

cls/kutac/monitor/utils/Installer.cls.xml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-28 15:22:47">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-28 15:40:57">
33
<Class name="kutac.monitor.utils.Installer">
4-
<TimeChanged>63761,55214.468859</TimeChanged>
4+
<TimeChanged>63761,56396.937793</TimeChanged>
55
<TimeCreated>63732,50627.865496</TimeCreated>
66

77
<XData name="Install">
@@ -109,7 +109,7 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
109109

110110
<Method name="Update">
111111
<ClassMethod>1</ClassMethod>
112-
<FormalSpec>Namespace=$Namespace,Owner:%String="alexandrov-nikita",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String="alexandrov-nikita",Password:%String="lolipops561azaza"</FormalSpec>
112+
<FormalSpec>Namespace=$Namespace,Owner:%String="alexandrov-nikita",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String,Password:%String</FormalSpec>
113113
<ReturnType>%Status</ReturnType>
114114
<Implementation><![CDATA[
115115
Set namespace = $Namespace
@@ -293,21 +293,10 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
293293
<ClassMethod>1</ClassMethod>
294294
<ReturnType>%Status</ReturnType>
295295
<Implementation><![CDATA[
296-
set sc = ##class(%SYS.Monitor).Start()
297-
if sc = 1
298-
{
299-
write !, " System Monitor started"
300-
}
301-
elseif sc = -1
302-
{
303-
write !, " System Monitor already running!"
304-
}
305-
else
306-
{
307-
write !,"ERROR: "_$ZE
308-
return sc
309-
}
310-
return $$$OK
296+
s sc = ##class(%SYS.Monitor).Stop()
297+
s sc1 = ##class(%SYS.Monitor).Start()
298+
w !, "System Monitor has been restarted!", !
299+
return sc1
311300
]]></Implementation>
312301
</Method>
313302

@@ -341,8 +330,6 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
341330
Return:$$$ISERR(st) st
342331
Set id = task.%Id()
343332
Return ##class(%SYS.Task).RunNow(id)
344-
345-
// Do ##class(%DeepSee.Utils).%BuildCube("CacheGitHubCICube",1,0)
346333
]]></Implementation>
347334
</Method>
348335
</Class>

0 commit comments

Comments
 (0)