fix requestinfo bug (#1980)

This commit is contained in:
zryfish
2020-04-01 15:50:57 +08:00
committed by GitHub
parent 95f6d75c19
commit c8dc3a4044
9 changed files with 88 additions and 115 deletions

View File

@@ -1,6 +1,7 @@
// +build !ignore_autogenerated
/*
Copyright 2019 The KubeSphere authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -124,6 +125,11 @@ func (in *AgentStatus) DeepCopyInto(out *AgentStatus) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.KubeConfig != nil {
in, out := &in.KubeConfig, &out.KubeConfig
*out = make([]byte, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.