deleted some useless lines

This commit is contained in:
Alie 2024-01-29 13:15:09 +01:00
parent a56a6b1ea9
commit 11d740b0d6
2 changed files with 3 additions and 7 deletions

View File

@ -10,13 +10,13 @@ spec:
spec: spec:
containers: containers:
- name: bot-job - name: bot-job
image: git.fai.st/fedi-image-bot/mastodon-image-uploader-bot:latest image: git.fai.st/fedi-image-bot/mastodon-image-uploader-bot:v1.0.0
volumeMounts: volumeMounts:
- name: config-toml - name: config-toml
mountPath: /app/ mountPath: /app/config.toml
readOnly: true readOnly: true
- name: mastodon-token - name: mastodon-token
mountPath: /app/ mountPath: /app/mastodon-data.toml
readOnly: true readOnly: true
restartPolicy: Never restartPolicy: Never
volumes: volumes:

View File

@ -1,16 +1,12 @@
use mastodon_async::entities::visibility::Visibility; use mastodon_async::entities::visibility::Visibility;
use mastodon_async::helpers::{cli, toml as masto_toml}; use mastodon_async::helpers::{cli, toml as masto_toml};
use mastodon_async::prelude::*; use mastodon_async::prelude::*;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::collections::HashSet; use std::collections::HashSet;
use std::io::{Cursor, Write}; use std::io::{Cursor, Write};
use std::process::exit; use std::process::exit;
use std::time::Duration; use std::time::Duration;
#[derive(Debug, Serialize)] #[derive(Debug, Serialize)]
struct AccountUpdate { struct AccountUpdate {
note: String, note: String,