bash: fix catch-all pattern in csit model matching 01/36801/3
authorJing Peng <jing@meter.com>
Thu, 4 Aug 2022 20:24:41 +0000 (16:24 -0400)
committerVratko Polak <vrpolak@cisco.com>
Wed, 17 Aug 2022 10:22:07 +0000 (10:22 +0000)
Change-Id: Ic3c78f8f447f59bcd10fd8b88f50f93f7279430b
Signed-off-by: Jing Peng <jing@meter.com>
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/bash/function/device.sh

index 86d4820..c9ebc46 100644 (file)
@@ -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