Commit 3abe0803 authored by Jordan Petridis's avatar Jordan Petridis 🌱

Source: Remove reduntant save() call

Source::clear_etags does a save already, so it's not needed to call
it twice.
parent 1e0a919d
Pipeline #25423 passed with stages
in 21 minutes and 29 seconds
......@@ -175,7 +175,6 @@ impl Source {
debug!("Previous Source: {:#?}", &self);
self.set_uri(url.to_string());
self = self.save()?;
self = self.clear_etags()?;
debug!("Updated Source: {:#?}", &self);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment