Skip to content

Commit

Permalink
Rename "initializing" cache state to "detached"
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
  • Loading branch information
mmichal10 authored and robertbaldyga committed Aug 28, 2024
1 parent 91590ce commit c9644ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion casadm/cas_lib.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright(c) 2012-2022 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down Expand Up @@ -66,7 +67,7 @@ int _check_cache_device(const char *device_path,
static const char *cache_states_name[ocf_cache_state_max + 1] = {
[ocf_cache_state_running] = "Running",
[ocf_cache_state_stopping] = "Stopping",
[ocf_cache_state_initializing] = "Initializing",
[ocf_cache_state_detached] = "Detached",
[ocf_cache_state_incomplete] = "Incomplete",
[ocf_cache_state_standby] = "Standby",
[ocf_cache_state_max] = "Unknown",
Expand Down

0 comments on commit c9644ba

Please sign in to comment.