File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -190,13 +190,11 @@ func (h *Handler) PatternFileHandler(
190190
191191 serverURL , _ := r .Context ().Value (models .MesheryServerURL ).(string )
192192
193- if action == "deploy" {
194- viewLink := fmt .Sprintf ("%s/extension/meshmap?mode=operator&type=view&design_id=%s" , serverURL , patternID )
195- description = fmt .Sprintf ("%s." , description )
196- metadata ["view_link" ] = viewLink
197- metadata ["design_name" ] = patternFile .Name
198- metadata ["design_id" ] = patternID
199- }
193+ viewLink := fmt .Sprintf ("%s/extension/meshmap?mode=operator&type=view&design_id=%s" , serverURL , patternID )
194+ description = fmt .Sprintf ("%s." , description )
195+ metadata ["view_link" ] = viewLink
196+ metadata ["design_name" ] = patternFile .Name
197+ metadata ["design_id" ] = patternID
200198
201199 var event * events.Event
202200 if action == "deploy" || action == "dry-run" {
You can’t perform that action at this time.
0 commit comments