Skip to content

Commit

Permalink
fix swift: fix broken syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Chodur <m.chodur@seznam.cz>
  • Loading branch information
FUSAKLA committed Jun 17, 2020
1 parent 6b648ea commit c8333ef
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkg/objstore/swift/swift.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,15 @@ func NewContainerFromConfig(logger log.Logger, sc *Config, createContainer bool)
} else if _, err := ensureContainer(connection, sc.SegmentContainerName, createContainer); err != nil {
return nil, err
}
}

container := Container{
logger: logger,
name: sc.ContainerName,
connection: connection,
chunkSize: sc.ChunkSize,
segmentsContainer: sc.SegmentContainerName,
}
return &container, nil
container := Container{
logger: logger,
name: sc.ContainerName,
connection: connection,
chunkSize: sc.ChunkSize,
segmentsContainer: sc.SegmentContainerName,
}
return &container, nil
}

// Name returns the container name for swift.
Expand Down

0 comments on commit c8333ef

Please sign in to comment.