Skip to content

Commit

Permalink
etcdClient.go: fixed a bug where nil was returned instead of err
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Robinson <dseevr@users.noreply.github.com>
  • Loading branch information
dseevr committed Oct 23, 2017
1 parent fd55124 commit 0060f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (ep *EtcdClient) ListDir(key string) ([]string, error) {
}
}
if err != nil {
return nil, nil
return nil, err
}
}

Expand Down

0 comments on commit 0060f00

Please sign in to comment.