aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function
diff options
context:
space:
mode:
authorJing Peng <jing@meter.com>2022-08-04 16:24:41 -0400
committerVratko Polak <vrpolak@cisco.com>2022-08-17 10:22:07 +0000
commit565eb027c7ba5626fa141a78fbac99d8386f4633 (patch)
tree136b3c75d98f5e0484e5425b90d66a530758a820 /resources/libraries/bash/function
parentbd391d74e2f7696657b337a36d63351a9ad3b278 (diff)
bash: fix catch-all pattern in csit model matching
Change-Id: Ic3c78f8f447f59bcd10fd8b88f50f93f7279430b Signed-off-by: Jing Peng <jing@meter.com> Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r--resources/libraries/bash/function/device.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh
index 86d482068a..c9ebc46a13 100644
--- a/resources/libraries/bash/function/device.sh
+++ b/resources/libraries/bash/function/device.sh
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -495,7 +495,7 @@ function get_csit_model () {
"0x1572"|"0x154c")
MODEL="Intel-X710"
;;
- "*")
+ *)
MODEL="virtual"
esac
fi