Commit 1bab7cbc authored by Luo Yifan's avatar Luo Yifan Committed by Tomasz Zawadzki
Browse files

scripts: Fix a clerical error in gdb_macros.py



The add operation is meaningless here. New ns should be added to the returned string, so replace + with +=.

Signed-off-by: default avatarLuo Yifan <luoyifan_yewu@cmss.chinamobile.com>
Change-Id: I7f0eaaec48d544e21892320dfc1451ebd2e7174e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14899


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 465a0934
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ class NvmfSubsystem(SpdkObject):
        s += '\nnqn %s' % self.get_name()
        s += '\nID %d' % self.get_id()
        for ns in self.get_ns_list():
            s + '\t%s' % str(ns)
            s += '\t%s' % str(ns)
        return s