From 8a7bb9e79d68d5ad4863aaddabb7a12683e08251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Mej=C3=ADas=20Rodr=C3=ADguez?= Date: Fri, 9 Aug 2019 13:06:47 -0400 Subject: [PATCH] Remove unused fields from client.Stack struct --- client/portainerTypes.go | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/client/portainerTypes.go b/client/portainerTypes.go index 03ed46c..0def3cf 100644 --- a/client/portainerTypes.go +++ b/client/portainerTypes.go @@ -5,14 +5,11 @@ import "fmt" type Stack struct { // In the API documentation this field is a String, // but it's returned as a number - Id uint32 - Name string - Type uint8 // 1 for a Swarm stack, 2 for a Compose stack - EndpointID uint - EntryPoint string - SwarmID string - ProjectPath string - Env []StackEnv + Id uint32 + Name string + Type uint8 // 1 for a Swarm stack, 2 for a Compose stack + EndpointID uint + Env []StackEnv } func (s *Stack) GetTranslatedStackType() string {