mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
5a2dcbbfc8
commit
30a582a5e3
|
@ -47,7 +47,7 @@ func readLogs(stdin io.Reader) ([]string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(in.Logs) == 0 {
|
if len(in.Logs) == 0 {
|
||||||
return nil, fmt.Errorf("No logs to upload")
|
return nil, errors.New("No logs to upload")
|
||||||
}
|
}
|
||||||
|
|
||||||
protoLogs := make([]string, len(in.Logs))
|
protoLogs := make([]string, len(in.Logs))
|
||||||
|
|
Loading…
Reference in New Issue