k3s/pkg/kubectl/cmd
Jan Chaloupka 70c74fbe4b Commit cd7d78b696 replaced use of
util.CheckErr(err)

with

if err != nil {
	return err
}

One replacement is incorrent. The current call of resource.NewBuilder is returned in r variable. Which was tested with util.CheckErr(r.Err()) before cd7d78b696 commit. It was replaced by

if err != nil {
	return err
}

which is incorrect as err is not set by resource.NewBuilder call. The correct use is

err := r.Err()
if err != nil {
	return err
}
2015-09-09 12:40:55 +02:00
..
config refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
util change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
annotate.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
annotate_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
apiversions.go Fixes the experimental api, which appeared to be completely broken. 2015-09-03 21:56:45 -05:00
attach.go Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
attach_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
clusterinfo.go Make a change to visitor to allow it to accept an error, like Go's path walker 2015-08-20 10:57:28 +08:00
cmd.go Enable kubectl rolling-update rc name bash completion 2015-08-31 16:37:44 -07:00
cmd_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
create.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
create_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
delete.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
delete_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
describe.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
describe_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
exec.go Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
exec_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
expose.go Simplify default output of "expose" command 2015-09-07 15:17:17 +08:00
expose_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
get.go Commit cd7d78b696 replaced use of 2015-09-09 12:40:55 +02:00
get_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
label.go Simplify default output of "expose" command 2015-09-07 15:17:17 +08:00
label_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
log.go Merge pull request #13366 from feihujiang/printValidContainersNames 2015-09-03 16:36:27 -07:00
log_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
namespace.go typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
patch.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
patch_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
portforward.go Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
portforward_test.go refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
proxy.go Use bash comments in kubectl examples 2015-08-12 19:56:23 +00:00
replace.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
replace_test.go Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
rollingupdate.go Make -o option working for rolling-update 2015-09-03 20:29:58 +08:00
rollingupdate_test.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
run.go Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
run_test.go Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
scale.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
stop.go bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
version.go Kubectl version should show client version at least 2015-08-26 15:00:28 +08:00