Skip to content

Commit 7035476

Browse files
committed
servers: remove dead getter code
Signed-off-by: Jacob Howard <jacob.howard@docker.com>
1 parent 667063d commit 7035476

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

pkg/servers/server.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,6 @@ func (s *Server) GetBranch() string {
7575
return s.Source.Branch
7676
}
7777

78-
func (s *Server) GetRevision() string {
79-
if s.Source.Commit != "" {
80-
return s.Source.Commit
81-
}
82-
return s.GetBranch()
83-
}
84-
8578
func (s *Server) GetDockerfileUrl() string {
8679
revision := s.Source.Commit
8780
if revision == "" {

0 commit comments

Comments
 (0)