Commit 4e0ef875 authored by Stan Hu's avatar Stan Hu

Remove unnecessary instance variable

parent 4b12a6ab
......@@ -8,7 +8,6 @@ class Admin::GeoNodesController < Admin::ApplicationController
def index
@nodes = GeoNode.all.order(:id)
@node = GeoNode.new
@current_storage_shards = StorageShardSerializer.new.represent(StorageShard.all)
unless Gitlab::Geo.license_allows?
flash_now(:alert, 'You need a different license to enable Geo replication')
......
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