Skip to content

Commit 9f9e49b

Browse files
ekohlstejskalleos
authored andcommitted
Remove message about clearing cache
The command foreman-rake tmp:cache:clear only works for local files but Foreman's default deployment switched to Redis for caching. This removes the misleading part.
1 parent de11c5a commit 9f9e49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/foreman_bootdisk/iso_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def self.fetch(path, uri, limit = 10)
205205
file.binmode
206206

207207
if use_cache && !(contents = Rails.cache.fetch(uri, raw: true)).nil?
208-
ForemanBootdisk.logger.info("Retrieved #{uri} from local cache (use foreman-rake tmp:cache:clear to empty)")
208+
ForemanBootdisk.logger.info("Retrieved #{uri} from local cache")
209209
file.write(contents)
210210
else
211211
ForemanBootdisk.logger.info("Fetching #{uri}")

0 commit comments

Comments
 (0)