update init
This commit is contained in:
parent
149fee2452
commit
b9b4c23d5b
1 changed files with 6 additions and 6 deletions
|
|
@ -67,7 +67,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Application without environment', $application->name);
|
ray('Application without environment', $application->name);
|
||||||
$application->delete();
|
$application->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($application, 'server')) {
|
if (!data_get($application, 'destination.server')) {
|
||||||
ray('Application without server', $application->name);
|
ray('Application without server', $application->name);
|
||||||
$application->delete();
|
$application->delete();
|
||||||
}
|
}
|
||||||
|
|
@ -86,7 +86,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Postgresql without environment', $postgresql->name);
|
ray('Postgresql without environment', $postgresql->name);
|
||||||
$postgresql->delete();
|
$postgresql->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($postgresql, 'server')) {
|
if (!data_get($postgresql, 'destination.server')) {
|
||||||
ray('Postgresql without server', $postgresql->name);
|
ray('Postgresql without server', $postgresql->name);
|
||||||
$postgresql->delete();
|
$postgresql->delete();
|
||||||
}
|
}
|
||||||
|
|
@ -105,7 +105,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Redis without environment', $redis->name);
|
ray('Redis without environment', $redis->name);
|
||||||
$redis->delete();
|
$redis->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($redis, 'server')) {
|
if (!data_get($redis, 'destination.server')) {
|
||||||
ray('Redis without server', $redis->name);
|
ray('Redis without server', $redis->name);
|
||||||
$redis->delete();
|
$redis->delete();
|
||||||
}
|
}
|
||||||
|
|
@ -125,7 +125,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Mongodb without environment', $mongodb->name);
|
ray('Mongodb without environment', $mongodb->name);
|
||||||
$mongodb->delete();
|
$mongodb->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($mongodb, 'server')) {
|
if (!data_get($mongodb, 'destination.server')) {
|
||||||
ray('Mongodb without server', $mongodb->name);
|
ray('Mongodb without server', $mongodb->name);
|
||||||
$mongodb->delete();
|
$mongodb->delete();
|
||||||
}
|
}
|
||||||
|
|
@ -145,7 +145,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Mysql without environment', $mysql->name);
|
ray('Mysql without environment', $mysql->name);
|
||||||
$mysql->delete();
|
$mysql->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($mysql, 'server')) {
|
if (!data_get($mysql, 'destination.server')) {
|
||||||
ray('Mysql without server', $mysql->name);
|
ray('Mysql without server', $mysql->name);
|
||||||
$mysql->delete();
|
$mysql->delete();
|
||||||
}
|
}
|
||||||
|
|
@ -165,7 +165,7 @@ private function cleanup_stucked_resources()
|
||||||
ray('Mariadb without environment', $mariadb->name);
|
ray('Mariadb without environment', $mariadb->name);
|
||||||
$mariadb->delete();
|
$mariadb->delete();
|
||||||
}
|
}
|
||||||
if (!data_get($mariadb, 'server')) {
|
if (!data_get($mariadb, 'destination.server')) {
|
||||||
ray('Mariadb without server', $mariadb->name);
|
ray('Mariadb without server', $mariadb->name);
|
||||||
$mariadb->delete();
|
$mariadb->delete();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue