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