Use ACTIVE as a default mount status at creation time
/*
- * Copyright 2017-2020 EPAM Systems, Inc. (https://www.epam.com/)
+ * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ import lombok.Setter;
@NoArgsConstructor
public class NFSDataStorage extends AbstractDataStorage {
- private NFSStorageMountStatus mountStatus;
+ private NFSStorageMountStatus mountStatus = NFSStorageMountStatus.ACTIVE;
public NFSDataStorage(Long id, String name, String path) {
super(id, name, normalizeNfsPath(path), DataStorageType.NFS);
