Skip to content

Commit 1b90384

Browse files
dinalDina Nimrodi
and
Dina Nimrodi
authored
IG-16775 set lset in tsdbctl add (#532)
Co-authored-by: Dina Nimrodi <[email protected]>
1 parent 3aabf9d commit 1b90384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tsdbctl/add.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func (ac *addCommandeer) add() error {
148148

149149
if ac.inFile == "" && !ac.stdin {
150150
// Process direct CLI input
151-
if _, err = utils.LabelsFromStringWithName(ac.name, ac.lset); err != nil {
151+
if lset, err = utils.LabelsFromStringWithName(ac.name, ac.lset); err != nil {
152152
return err
153153
}
154154

0 commit comments

Comments
 (0)