lint fixes (#14)
* lint fixes Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -504,7 +504,7 @@ func (k *kubernetes) Read(opts ...runtime.ReadOption) ([]*runtime.Service, error
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var services []*runtime.Service
|
||||
services := make([]*runtime.Service, 0, len(srvs))
|
||||
for _, service := range srvs {
|
||||
services = append(services, service.Service)
|
||||
}
|
||||
|
@@ -123,7 +123,7 @@ func (k *klog) Read() ([]runtime.Log, error) {
|
||||
logParams["tailLines"] = strconv.Itoa(int(k.options.Count))
|
||||
}
|
||||
|
||||
if k.options.Stream == true {
|
||||
if k.options.Stream {
|
||||
logParams["follow"] = "true"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user