Add error check if arg is nil 38/11238/1
authorsubhash kumar singh <subh.singh@samsung.com>
Mon, 29 May 2023 12:55:05 +0000 (12:55 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Mon, 29 May 2023 12:56:31 +0000 (12:56 +0000)
commita9156ec5f40039b97f97dfd3d3bae255a44c6333
treeb9a970692bb1ed158b6c6d56b3729d6f6968f908
parent31505299317b3fbc8b5f918e7bb811c243606705
Add error check if arg is nil

Implemented error check to avoid crash if `helmpkg` is nil.

Issue-ID: RIC-955
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I0c1686ea11dd6d715c2e1fca3b3bea82c9406935
pkg/restful/restful.go