e38f991054
* raft file and quorum checks * raft checks * backup * raft file checks test * address comments and add more raft and file and process checks * syntax issues * modularize functions to compile differently on different os * compile raft checks everywhere * more build tag issues * raft-diagnose * correct file permission checks * upgrade tests and add a getConfigOffline test that currently does not work * comment * update file checks method signature on windows * Update physical/raft/raft_test.go Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com> * raft tests * add todo comment for windows root ownership * voter count message * raft checks test fixes Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
12 lines
228 B
Go
12 lines
228 B
Go
// +build windows
|
|
|
|
package diagnose
|
|
|
|
import "io/fs"
|
|
|
|
// IsOwnedByRoot does nothing on windows for now.
|
|
// TODO: find an equivalent check for file ownership in windows.
|
|
func IsOwnedByRoot(info fs.FileInfo) bool {
|
|
return false
|
|
}
|