Fixed XML parsing of TimeSpan elements

pull/51/head
Ryan Finley 2014-10-07 08:50:01 -05:00
parent 6080007e82
commit 60817bcd7a
1 changed files with 4 additions and 4 deletions

View File

@ -419,7 +419,7 @@ namespace winsw
{ {
get get
{ {
return SingleTimeSpanElement(dom, "waithint", TimeSpan.FromSeconds(15)); return SingleTimeSpanElement(dom, "//waithint", TimeSpan.FromSeconds(15));
} }
} }
@ -433,7 +433,7 @@ namespace winsw
{ {
get get
{ {
return SingleTimeSpanElement(dom, "sleeptime", TimeSpan.FromSeconds(1)); return SingleTimeSpanElement(dom, "//sleeptime", TimeSpan.FromSeconds(1));
} }
} }
@ -519,7 +519,7 @@ namespace winsw
{ {
get get
{ {
return SingleTimeSpanElement(dom, "resetfailure", TimeSpan.FromDays(1)); return SingleTimeSpanElement(dom, "//resetfailure", TimeSpan.FromDays(1));
} }
} }
@ -580,7 +580,7 @@ namespace winsw
{ {
get get
{ {
return SingleTimeSpanElement(dom, "stoptimeout", TimeSpan.FromSeconds(15)); return SingleTimeSpanElement(dom, "//stoptimeout", TimeSpan.FromSeconds(15));
} }
} }