returnerrors.New("featureGates has been removed from JoinConfiguration and featureGates from ClusterConfiguration will be used instead. Please cleanup JoinConfiguration.FeatureGates fields")
expectedErr:"featureGates has been removed from JoinConfiguration and featureGates from ClusterConfiguration will be used instead. Please cleanup JoinConfiguration.FeatureGates fields",
},
}
for_,tc:=rangetestcases{
internal:=&kubeadm.JoinConfiguration{}
err:=scheme.Scheme.Convert(tc.old,internal,nil)
iflen(tc.expectedErr)!=0{
testutil.AssertError(t,err,tc.expectedErr)
}elseiferr!=nil{
t.Errorf("no error was expected but '%s' was found",err)