m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-15 08:33:49 -05:00

Probably meaningless change of some Option<&String>s to Option<&str>s

This commit is contained in:
Sergio
2025-01-02 13:00:32 +02:00
parent 84609d5189
commit fe779c9c4e
6 changed files with 9 additions and 9 deletions

View File

@@ -183,7 +183,7 @@ impl Image {
}
/// Checks if the image has an update
pub async fn check(&self, token: Option<&String>, config: &Config, client: &Client) -> Self {
pub async fn check(&self, token: Option<&str>, config: &Config, client: &Client) -> Self {
match &self.version_info {
Some(data) => get_latest_tag(self, &data.current_tag, token, config, client).await,
None => match self.digest_info {