forked from influxdata/kapacitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged pull request influxdata#1542 from bonitoo-io/vh-fix#916
Fix of the Kapacitor crash on windows when starting recording: issues influxdata#902, influxdata#916
- Loading branch information
Showing
6 changed files
with
55 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !windows | ||
|
||
//Platform dependent constants for non-windows | ||
package server_test | ||
|
||
const ( | ||
ExecutableSuffix = "" | ||
PythonExecutable = "python2" | ||
LogFileExpectedMode = 0604 | ||
AlertLogPath = `/var/log/alert.log` | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build windows | ||
|
||
//Platform dependent constants for tests on windows | ||
package server_test | ||
|
||
const ( | ||
ExecutableSuffix = ".exe" | ||
PythonExecutable = "python" | ||
LogFileExpectedMode = 0666 | ||
AlertLogPath = `c:\alert.log` | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters