mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
add description for export const variable and function, fix golint
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
@@ -66,7 +66,7 @@ func (h *MutatingHandler) Handle(ctx context.Context, req admission.Request) adm
|
||||
return resp
|
||||
}
|
||||
|
||||
// Default sets all the default value for the PodSpecWorkload
|
||||
// DefaultPodSpecWorkload will set the default value for the PodSpecWorkload
|
||||
func DefaultPodSpecWorkload(obj *v1alpha1.PodSpecWorkload) {
|
||||
mutatelog.Info("default", "name", obj.Name)
|
||||
if obj.Spec.Replicas == nil {
|
||||
|
||||
Reference in New Issue
Block a user