Centralize managed state targets
This commit is contained in:
@@ -12,7 +12,7 @@ func ValidateSourcePath(path string) error {
|
||||
return err
|
||||
}
|
||||
switch path {
|
||||
case ManifestName, ".distributor.json":
|
||||
case ManifestName, storage.StateFileName:
|
||||
return fmt.Errorf("%q is reserved", path)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user