[DEV] Removed excess logs
This commit is contained in:
parent
91587f66b2
commit
a96ce0ddc3
4 changed files with 2 additions and 5 deletions
|
@ -52,7 +52,6 @@ export async function getVolumes() {
|
|||
|
||||
export function getServerAssets(serverId) {
|
||||
const serverFilter = serverMatch(serverId);
|
||||
console.log(serverId);
|
||||
return Promise.all([
|
||||
getDeployments(),
|
||||
getServices(),
|
||||
|
@ -83,7 +82,6 @@ export function getServerAssets(serverId) {
|
|||
|
||||
export async function getDeployment(serverId) {
|
||||
const servers = await getDeployments();
|
||||
console.log(servers.map(({ metadata }) => metadata.annotations));
|
||||
const serverDeployment = servers.find(
|
||||
(s) => s.metadata.annotations["minecluster.dunemask.net/id"] === serverId,
|
||||
);
|
||||
|
|
|
@ -69,7 +69,7 @@ function createServerDeploy(serverSpec) {
|
|||
).persistentVolumeClaim.claimName = `mcl-${mclName}-volume`;
|
||||
|
||||
// Apply Containers TODO: User control for autostart
|
||||
deployYaml.spec.template.spec.containers.push(serverContainer);
|
||||
// deployYaml.spec.template.spec.containers.push(serverContainer);
|
||||
deployYaml.spec.template.spec.containers.push(ftpContainer);
|
||||
deployYaml.spec.replicas = 1;
|
||||
return deployYaml;
|
||||
|
|
|
@ -123,7 +123,7 @@ export default function ServerCard(props) {
|
|||
size="large"
|
||||
component={Link}
|
||||
to={`/mcl/files?server=${id}`}
|
||||
disabled={!services.includes("ftp")}
|
||||
disabled={!ftpAvailable}
|
||||
>
|
||||
<FolderIcon />
|
||||
</IconButton>
|
||||
|
|
|
@ -28,7 +28,6 @@ export default function Create() {
|
|||
const s = { ...spec };
|
||||
s[attr] = val;
|
||||
setSpec(s);
|
||||
console.log(s);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue