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:
containers:
- 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:
- name: config-toml
mountPath: /app/
mountPath: /app/config.toml
readOnly: true
- name: mastodon-token
mountPath: /app/
mountPath: /app/mastodon-data.toml
readOnly: true
restartPolicy: Never
volumes:

View File

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