summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/checksum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/checksum.rb')
-rw-r--r--lib/chef/mixin/checksum.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/mixin/checksum.rb b/lib/chef/mixin/checksum.rb
index 5394c5ea48..6b9dfa4b5f 100644
--- a/lib/chef/mixin/checksum.rb
+++ b/lib/chef/mixin/checksum.rb
@@ -29,6 +29,7 @@ class Chef
def short_cksum(checksum)
return "none" if checksum.nil?
+
checksum.slice(0, 6)
end