deleted some useless lines
This commit is contained in:
parent
a56a6b1ea9
commit
11d740b0d6
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue