log.Log.Warn(fmt.Sprintf("deleting application(%s), cluster(%s), namespace(%s), and you have right to do it...",appname,wk.arHandle.Cluster,app.Namespace))
log.Log.Warn(fmt.Sprintf("delete application(%s), cluster(%s), namespace(%s) successfully, and you have right to do it...",appname,wk.arHandle.Cluster,app.Namespace))
}
}
}else{
//no right
for_,app:=rangeexoticapps{
exoticns=append(exoticns,app.Namespace)
}
}
iflen(exoticns)!=0{
returnfmt.Errorf("the application(%s) is existed in namespace %v of cluster %v, and you have no right to cover the old application",appname,exoticns,wk.arHandle.Cluster)