Skip to content

Commit

Permalink
Show if profile is being used.
Browse files Browse the repository at this point in the history
  • Loading branch information
dacut committed Jun 14, 2016
1 parent 7e0dad2 commit 5bfe03f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/ublkdev-c++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ S3_SRCS = regionmap.cc s3.cc
S3_OBJS = $(S3_SRCS:%.cc=%.o)
S3_LD = g++
S3_LDFLAGS = -L.
S3_LIBS = -lublkdev -laws-cpp-sdk-s3 -laws-cpp-sdk-core
S3_LIBS = -lublkdev -laws-cpp-sdk-s3 -laws-cpp-sdk-core -lpthread

all: $(TARGETS)
libublkdev.so: $(LIB_OBJS)
Expand Down
1 change: 1 addition & 0 deletions client/ublkdev-c++/s3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ int main(int argc, char *argv[]) {
shared_ptr<AWSCredentialsProvider> creds;

if (profile) {
cerr << "Using ProfileConfigFileAWSCredentialsProvider" << endl;
creds = shared_ptr<AWSCredentialsProvider>(
new ProfileConfigFileAWSCredentialsProvider(profile->c_str()));
}
Expand Down

0 comments on commit 5bfe03f

Please sign in to comment.