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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user