fsx: Remove environment references
This commit removes the reference to the environment from the fsx package.
This commit is contained in:
parent
5a43ecfaeb
commit
3263920d6b
25 changed files with 167 additions and 183 deletions
|
|
@ -58,7 +58,7 @@ func (r reserve) Run(context wisski_distillery.Context) error {
|
|||
|
||||
// check that the base directory does not exist
|
||||
logging.LogMessage(context.Stderr, context.Context, "Checking that base directory %s does not exist", instance.FilesystemBase)
|
||||
if fsx.IsDirectory(dis.Environment, instance.FilesystemBase) {
|
||||
if fsx.IsDirectory(instance.FilesystemBase) {
|
||||
return errReserveAlreadyExists.WithMessageF(slug)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue