    # File lib/fog/hp/models/storage/directory.rb, line 26
            def destroy
              requires :key
              connection.delete_container(key)
              # If CDN service is available, try to delete the container if it was CDN-enabled
              if cdn_enabled?
                begin
                  connection.cdn.delete_container(key)
                rescue Fog::CDN::HP::NotFound
                  # ignore if cdn container not found
                end
              end
              true
            rescue Excon::Errors::NotFound, Fog::Storage::HP::NotFound
              false
            end