Fix sdlcli get -command result stdout write 86/7486/1 v0.9.3
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 30 Dec 2021 10:40:57 +0000 (12:40 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 30 Dec 2021 14:34:42 +0000 (16:34 +0200)
commit7e262d4f4e530aec98903e99b195d9e2d07dbcb0
tree8705ba117b831f8273203a7afc3981b4a2f50440
parent77dd13bfb2ac4eb9ab3a4dd79d7a09a8fdc6d299
Fix sdlcli get -command result stdout write

Sdlcli get -command writes wrongly results to stderr stream. Fix sdlcli
get -command to write results to stdout stream when command execution
has succeeded. In addition add similar stdout redirect also to sdlcli
statistics -command just to keep the code look the same, even thought
there wasn't any real issue with sdlcli statistics -command's results
visibility.

Version: 0.9.3

Issue-Id: RIC-873

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Icc7d42d9200bdcc74bf1da6ceab341dd6b69c16e
docs/release-notes.rst
internal/cli/get.go
internal/cli/keys.go
internal/cli/statistics.go